blob: 495a8246cac9a1108227a357aec13b733150317e [file] [log] [blame]
Guido van Rossumddefaf32007-01-14 03:31:43 +00001Measurements of _testcapi.profile_int, on an 800MHz G3, OSX 10.4.7
2best of three runs
3
4r51476 (original p3yk)
5Test 1: 1.601978s
6Test 2: 1.696623s
7Test 3: 1.900683s
8Test 4: 5.307155s
9Test 5: 2.546707s
10Test 6: 1.670252s
11Test 7: 1.910734s
12
13r51506 (int type dropped)
14Test 1: 4.134757s
15Test 2: 4.398235s
16Test 3: 4.611636s
17Test 4: 10.665429s
18
19r51509 (small int cache)
20Test 1: 3.457184s
21Test 2: 4.514800s
22Test 3: 4.999010s
23Test 4: 10.818277s
24
25r51452 (special-casing medium int allocation)
26Test 1: 3.258219s
27Test 2: 4.255007s
28Test 3: 4.547923s
29Test 4: 10.615123s
30Test 5: 5.255545s
31Test 6: 3.775941s
32Test 7: 4.001805s
33
34r51562 (special-case one-digit operations)
35Test 1: 3.527860s
36Test 2: 3.975953s
37Test 3: 4.226751s
38Test 4: 10.605721s
39Test 5: 5.233576s
40Test 6: 2.161525s
41Test 7: 3.421624s
42
43r51573 (speed up PyLong_FromLong)
44Test 1: 3.149116s
45Test 2: 3.948204s
46Test 3: 4.012080s
47Test 4: 8.589921s
48Test 5: 4.481723s
49Test 6: 2.259849s
50Test 7: 3.453212s