#24 [FIX] 0 tinyBenchmarks times out

Closed
opened 8 years ago by nero · 0 comments

Originally at 2011-08-29T10:16:25Z by Bert Freudenberg closed at 2011-08-29T21:38:53Z

Trying to print "0 tinyBenchmarks" on Mac OS X. Some browsers bail on the long-running script.

PROPOSED FIX lower the minimum number of iterations in Number>>tinyBenchmarks from 28 to 17:

n2 := 17.

RATIONALE The n2 that's getting used in the end is between 21 and 24 on the desktop browsers I tested. This is a very fast machine so starting with some orders of magnitude less seems reasonable. 17 benchFib on the iPad takes 1200 ms so this seems a reasonable lower bound (unless you want to support even slower machines). In any case, 28 is way too high for the emulated sends that are in place right now. And it does not hurt to go lower since the code adjusts itself anyway.

Originally at 2011-08-29T10:16:25Z by Bert Freudenberg closed at 2011-08-29T21:38:53Z Trying to print "0 tinyBenchmarks" on Mac OS X. Some browsers bail on the long-running script. PROPOSED FIX lower the minimum number of iterations in Number>>tinyBenchmarks from 28 to 17: n2 := 17. RATIONALE The n2 that's getting used in the end is between 21 and 24 on the desktop browsers I tested. This is a very fast machine so starting with some orders of magnitude less seems reasonable. 17 benchFib on the iPad takes 1200 ms so this seems a reasonable lower bound (unless you want to support even slower machines). In any case, 28 is way too high for the emulated sends that are in place right now. And it does not hurt to go lower since the code adjusts itself anyway.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.