A good benchmark should be representative of the workload you're interested in measuring.
On Tue, Dec 11, 2012 at 3:53 PM, v8unl <[email protected]> wrote: > Thank You Jakob. > > What would you suggest some good benchmarks other than the one we have in > V8. > > Thanks, > Shakthi > > > On Tuesday, December 11, 2012 3:10:57 AM UTC-6, Jakob Kummerow wrote: > >> Looks like the Sunspider runner expects the shell to expose a "run()" >> method. I have no idea what that method is supposed to do, and considering >> how useless Sunspider is as a benchmark, I don't think >> investigating/implementing it is a good use of anyone's time. >> >> >> On Tue, Dec 11, 2012 at 2:39 AM, v8unl <[email protected]> wrote: >> >>> Thank you Paul and Yang >>> >>> Now. the benchmarks of V8 are working . But, SunSpider is not working in >>> V8 (As, Paul has mentioned we need export some functions for which I am not >>> getting resources.). >>> >>> perl sunspider --shell=/home/shakthi/Desktop/** >>> Research/Workspace/V8/v8/out/**x64.release/shell >>> >>> Running SunSpider once for warmup, then 10 times >>> Discarded first run. >>> [resources/sunspider-**standalone-driver.js:54: ReferenceError: run is >>> not defined >>> times[j] = run(testName); >>> ^ >>> ReferenceError: run is not defined >>> at resources/sunspider-**standalone-driver.js:54:24 >>> at resources/sunspider-**standalone-driver.js:75:3, >>> resources/sunspider-**standalone-driver.js:54: ReferenceError: run is >>> not defined >>> times[j] = run(testName); >>> >>> This link explains it but they do not mention whether the issue is fixed >>> or not. >>> >>> https://bugs.webkit.org/show_**bug.cgi?id=71801<https://bugs.webkit.org/show_bug.cgi?id=71801> >>> >>> Thanks, >>> Shakthi >>> >>> >>> On Sunday, December 9, 2012 11:49:38 PM UTC-6, paul lind wrote: >>> >>>> 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/** >>>> WebKi**t/webkit/tree/master/**Performan**ceTests/SunSpider<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.** >>>> relea**se/sunspiderRun/run.js >>>> iteration -1 : loading 3d-cube.js >>>> /home/shakthi/Desktop/Research****/Workspace/V8/v8/out/x64.**relea** >>>> se/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<http://groups.google.com/group/v8-users> >>>> >>>> >>>> -- >>> v8-users mailing list >>> [email protected] >>> http://groups.google.com/**group/v8-users<http://groups.google.com/group/v8-users> >>> >> >> -- > 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
