Ben, Thanks for your reply. I see that Octane already overrides Math.random() to provide a deterministic behavior(in benchmarks/base.js). Will these flags have an effect on top of this?
I can rebuild my source code with snapshot=no if required. Regards, Amruth Raj. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ben Noordhuis Sent: Monday, June 30, 2014 1:49 PM To: [email protected] Cc: [email protected] Subject: Re: [v8-users] RE: Variation in Octane runs On Mon, Jun 30, 2014 at 6:19 AM, Amruth Raj P <[email protected]> wrote: > On an ARM32 chipset, I observed ~10% variation in Octane results. My > source code is based on latest trunk revision. > > On debugging more, I found that a major amount of this comes from > Splay sub test and the reason for that is variation in the time taken > in doing garbage collection. Total time consumed in GC was anywhere > between 100-1000msec which was causing the variation in scores. Can > someone explain why a good run can have ~100msec of GC while a bad run > can go up to ~1000msec of GC for the same test? How did you run the test? benchmarks/splay.js calls Math.random() a lot. That function is normally monkey-patched with a fixed sequence version by the benchmark runner. Does passing --random_seed 42 --norandomize_hashes make a difference? I believe you need a nosnapshot build for --norandomize_hashes, the hash seed is fixed in snapshot builds. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
