I see. I will try this.

How do I know if a particular flag is associated with a snapshot build or not? 
From the code I see that randomize_hashes is being used like any other flag. I 
am missing something.

In this particular issue, you suspect that there were too many hash collisions 
while creating strings that led to more GC?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Ben Noordhuis
Sent: Tuesday, July 01, 2014 5:45 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [v8-users] RE: Variation in Octane runs

On Mon, Jun 30, 2014 at 11:24 AM, Amruth Raj P <[email protected]> wrote:
> 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.

If you're testing with a snapshot build, then the hash seed for dictionaries is 
fixed.  IOW, --norandomize_hashes should be a no-op.

It might be instructive to profile two runs with --prof --logfile=v8-%t.log and 
compare them against each other.  You can turn the log files into 
human-readable output with the tools/linux-tick-processor script.

There's also a tools/run-llprof.sh script that combines --prof with
perf(1) for higher resolution profiling but be warned that the post-processing 
step with tools/ll_prof.py is very slow.  HTH.

--
--
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.

Reply via email to