#24 [FIX] 0 tinyBenchmarks times out

Затворено
отворено пре 8 година од nero · 0 коментара
Admin of lolg.it коментирира пре 8 година

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.
nero затворено пре 7 година
Пријавите се да се прикључе у овом разговору.
Нема лабеле
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.