Load is a custom function built into d8 to load additional files by
relative path. You will have to change the path it loads from to fit your
file system.
Yang
On Monday, December 10, 2012 4:37:43 AM UTC+1, v8unl 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