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