Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1516.mcz
==================== Summary ====================
Name: Kernel-mt.1516
Author: mt
Time: 31 May 2023, 9:39:49.731172 am
UUID: 3dfb942b-0523-4240-a424-49485b35ff66
Ancestors: Kernel-mt.1515
For #tinyBenchmarks, adds Pi4 numbers.
=============== Diff against Kernel-mt.1515 ===============
Item was changed:
----- Method: Integer>>tinyBenchmarks (in category 'benchmarks') -----
tinyBenchmarks
"Report the results of running the two tiny Squeak benchmarks.
ar 9/10/1999: Adjusted to run at least 1 sec to get more stable results"
"0 tinyBenchmarks"
| t1 t2 r n1 n2 pref |
pref := Time useHighResClockForTiming.
Time useHighResClockForTiming: false.
n1 := 1.
[t1 := Time millisecondsToRun: [n1 benchmark].
t1 < 1000] whileTrue:[n1 := n1 * 2]. "Note: #benchmark's runtime is about O(n)"
n2 := 28.
[t2 := Time millisecondsToRun: [r := n2 benchFib].
t2 < 1000] whileTrue:[n2 := n2 + 1].
"Note: #benchFib's runtime is about O(k^n),
where k is the golden number = (1 + 5 sqrt) / 2 = 1.618...."
Time useHighResClockForTiming: pref.
^ ((n1 * 500000 * 1000) // t1 significantDigits: 2) asStringWithCommas, ' bytecodes/sec; ',
((r * 1000) // t2 significantDigits: 2) asStringWithCommas, ' sends/sec'
"
Known benchmark results:
On a 292 MHz G3 Mac: 23,000,000 bytecodes/sec; 980,000 sends/sec
On a 400 MHz PII/Win98: 18,000,000 bytecodes/sec; 1,100,000 sends/sec
On a 2800 MHz i7: 1,200,000,000 bytecodes/sec; 25,000,000 sends/sec
On a 2800 MHz i7 (CogVM): 1,700,000,000 bytecodes/sec; 260,000,000 sends/sec
On a RaspberryPi 3B+ ARMv6 (CogVM, April 2018): 330,000,000 bytecodes/sec; 19,000,000 sends/sec
+ On a RaspberryPi 4 ARMv8 (CogVM, May 2023): 750,000,000 bytecodes/sec; 53,000,000 sends/sec
On an Apple M1 (macMini 2020, CogVM 202112201228): 4,400,000,000 bytecodes/sec; 330,000,000 sends/sec
On an Apple M1 x64/Rosetta (macMini 2020, CogVM 202112201228): 3,500,000,000 bytecodes/sec; 270,000,000 sends/sec
On a Core i7-1185G7 (Surface Pro 8, CogVM 202206021410): 3,800,000,000 bytecodes/sec; 290,000,000 sends/sec
"!
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1515.mcz
==================== Summary ====================
Name: Kernel-mt.1515
Author: mt
Time: 30 May 2023, 3:27:35.849516 pm
UUID: 751f066c-41a3-1b4e-bf98-d179a8cc2d13
Ancestors: Kernel-mt.1514
Disable high-precision clock for #tinyBenchmarks to not suffer from inaccurate ticks-to-milliseconds factor.
=============== Diff against Kernel-mt.1514 ===============
Item was changed:
----- Method: Integer>>tinyBenchmarks (in category 'benchmarks') -----
tinyBenchmarks
"Report the results of running the two tiny Squeak benchmarks.
ar 9/10/1999: Adjusted to run at least 1 sec to get more stable results"
"0 tinyBenchmarks"
+ | t1 t2 r n1 n2 pref |
+ pref := Time useHighResClockForTiming.
+ Time useHighResClockForTiming: false.
- | t1 t2 r n1 n2 |
n1 := 1.
[t1 := Time millisecondsToRun: [n1 benchmark].
t1 < 1000] whileTrue:[n1 := n1 * 2]. "Note: #benchmark's runtime is about O(n)"
n2 := 28.
[t2 := Time millisecondsToRun: [r := n2 benchFib].
t2 < 1000] whileTrue:[n2 := n2 + 1].
"Note: #benchFib's runtime is about O(k^n),
where k is the golden number = (1 + 5 sqrt) / 2 = 1.618...."
+ Time useHighResClockForTiming: pref.
+
^ ((n1 * 500000 * 1000) // t1 significantDigits: 2) asStringWithCommas, ' bytecodes/sec; ',
((r * 1000) // t2 significantDigits: 2) asStringWithCommas, ' sends/sec'
"
Known benchmark results:
On a 292 MHz G3 Mac: 23,000,000 bytecodes/sec; 980,000 sends/sec
On a 400 MHz PII/Win98: 18,000,000 bytecodes/sec; 1,100,000 sends/sec
On a 2800 MHz i7: 1,200,000,000 bytecodes/sec; 25,000,000 sends/sec
On a 2800 MHz i7 (CogVM): 1,700,000,000 bytecodes/sec; 260,000,000 sends/sec
On a RaspberryPi 3B+ ARMv6 (CogVM, April 2018): 330,000,000 bytecodes/sec; 19,000,000 sends/sec
On an Apple M1 (macMini 2020, CogVM 202112201228): 4,400,000,000 bytecodes/sec; 330,000,000 sends/sec
On an Apple M1 x64/Rosetta (macMini 2020, CogVM 202112201228): 3,500,000,000 bytecodes/sec; 270,000,000 sends/sec
On a Core i7-1185G7 (Surface Pro 8, CogVM 202206021410): 3,800,000,000 bytecodes/sec; 290,000,000 sends/sec
"!
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1514.mcz
==================== Summary ====================
Name: Kernel-mt.1514
Author: mt
Time: 30 May 2023, 11:44:07.655516 am
UUID: 37594c1e-993f-fd47-968f-4a96f29233ee
Ancestors: Kernel-mt.1513
Adds more known benchmark results for #tinyNumbers. Moves results-comment to the end of method to not obfuscate the source code.
=============== Diff against Kernel-mt.1513 ===============
Item was changed:
----- Method: Integer>>tinyBenchmarks (in category 'benchmarks') -----
tinyBenchmarks
"Report the results of running the two tiny Squeak benchmarks.
ar 9/10/1999: Adjusted to run at least 1 sec to get more stable results"
"0 tinyBenchmarks"
+
- "On a 292 MHz G3 Mac: 23,000,000 bytecodes/sec; 980,000 sends/sec"
- "On a 400 MHz PII/Win98: 18,000,000 bytecodes/sec; 1,100,000 sends/sec"
- "On a 2800 MHz i7: 1,200,000,000 bytecodes/sec; 25,000,000 sends/sec"
- "On a 2800 MHz i7 (CogVM): 1,700,000,000 bytecodes/sec; 260,000,000 sends/sec"
| t1 t2 r n1 n2 |
n1 := 1.
[t1 := Time millisecondsToRun: [n1 benchmark].
t1 < 1000] whileTrue:[n1 := n1 * 2]. "Note: #benchmark's runtime is about O(n)"
n2 := 28.
[t2 := Time millisecondsToRun: [r := n2 benchFib].
t2 < 1000] whileTrue:[n2 := n2 + 1].
"Note: #benchFib's runtime is about O(k^n),
where k is the golden number = (1 + 5 sqrt) / 2 = 1.618...."
^ ((n1 * 500000 * 1000) // t1 significantDigits: 2) asStringWithCommas, ' bytecodes/sec; ',
((r * 1000) // t2 significantDigits: 2) asStringWithCommas, ' sends/sec'
+ "
+ Known benchmark results:
+ On a 292 MHz G3 Mac: 23,000,000 bytecodes/sec; 980,000 sends/sec
+ On a 400 MHz PII/Win98: 18,000,000 bytecodes/sec; 1,100,000 sends/sec
+ On a 2800 MHz i7: 1,200,000,000 bytecodes/sec; 25,000,000 sends/sec
+ On a 2800 MHz i7 (CogVM): 1,700,000,000 bytecodes/sec; 260,000,000 sends/sec
+ On a RaspberryPi 3B+ ARMv6 (CogVM, April 2018): 330,000,000 bytecodes/sec; 19,000,000 sends/sec
+ On an Apple M1 (macMini 2020, CogVM 202112201228): 4,400,000,000 bytecodes/sec; 330,000,000 sends/sec
+ On an Apple M1 x64/Rosetta (macMini 2020, CogVM 202112201228): 3,500,000,000 bytecodes/sec; 270,000,000 sends/sec
+ On a Core i7-1185G7 (Surface Pro 8, CogVM 202206021410): 3,800,000,000 bytecodes/sec; 290,000,000 sends/sec
+ "!
- !
Christoph Thiede uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ct.274.mcz
==================== Summary ====================
Name: Network-ct.274
Author: ct
Time: 20 May 2023, 9:57:37.37056 pm
UUID: ec1f495a-41ef-af4c-bc0b-6d00e533396e
Ancestors: Network-ct.273
Removes obsolete instvars from MIMEDocument.
=============== Diff against Network-ct.273 ===============
Item was changed:
Object subclass: #MIMEDocument
+ instanceVariableNames: 'content fields url parts'
- instanceVariableNames: 'mainType subType content fields url parts'
classVariableNames: 'MIMEdatabase'
poolDictionaries: ''
category: 'Network-MIME'!
!MIMEDocument commentStamp: 'pre 7/6/2017 13:58' prior: 0!
a MIME object, along with its type and the URL it was found at (if any)
Design decisions:
- The API for using the content of the MIME object inside Squeak returns Strings
in Squeak encoding. The serializing methods return the content serialized according
to the content-type and content-transfer-encoding --pre!