Shakti - For v8 benchmark, cd into the benchmarks directory, and run it from there:
cd benchmarks /path/to/shell run.js In your clip below, you can see that run.js is trying to load other files from that same directory. Sunspider benchmark is run via the included perl script also called 'sunspider', which you can get from webkit repo: https://github.com/WebKit/webkit/tree/master/PerformanceTests/SunSpider but I think that newer versions of the test (still called 0.9.1) expect the shell to export some function(s) that the v8 shell does not. I don't have the code in front of me now to check this out. Maybe someone else can respond. thanks, paul On Dec 9, 2012, at 7:37 PM, v8unl <[email protected]> wrote: > Hello, > > I am new to V8 and I was wondering how to run benchmarks like sunspider or > the benchmarks provided in V8 package. > > I am able to run small helloworld.js from ./shell or from ./d8 but I am > getting the following error when I am trying to run the benchmarks > > /shell > /home/shakthi/Desktop/Research/Workspace/V8/v8/out/x64.release/sunspiderRun/run.js > > iteration -1 : loading 3d-cube.js > /home/shakthi/Desktop/Research/Workspace/V8/v8/out/x64.release/sunspiderRun/run.js:36: > Error loading file > load(category.name + "-" + test.name + ".js"); > > > > ^ > ./shell benchmarks/run.js > benchmarks/run.js:29: Error loading file > load('base.js'); > ^ > > System Details: Ubuntu on 64 bit machine > > Please, let me know what would be the steps to run benchmarks in V8 or where > I am making the mistake. > > Thanks, > Shakti > > > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
