#24 [FIX] 0 tinyBenchmarks times out

已關閉
nero8 年之前創建 · 0 條評論

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.
nero7 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容