#24 [FIX] 0 tinyBenchmarks times out

Slēgta
nero atvēra 8 gadi atpakaļ · 0 komentāri

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.
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.