#24 [FIX] 0 tinyBenchmarks times out

Geschlossen
vor 8 Jahren geöffnet von nero · 0 Kommentare

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 hat vor 7 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.