thlorenz / benchgraph

Runs {io,node}.js benchmarks and generates pretty graphs
https://thlorenz.github.io/benchgraph
MIT License
22 stars 5 forks source link

Not running on banana-pi / arm7 / debian jessie #2

Open megastef opened 9 years ago

megastef commented 9 years ago

run the banchmark on it:

./benchgraph-all   
./benchgraph-all: 2: ./benchgraph-all: Bad substitution
/root/benchmark/benchgraph/benchgraph: 2: /root/benchmark/benchgraph/benchgraph: Bad substitution
Running arrays benchmarks

curl: (22) The requested URL returned error: 404 Not Found

curl: (22) The requested URL returned error: 404 Not Found
Binary download failed, trying source.

curl: (22) The requested URL returned error: 404 Not Found
######################################################################## 100.0%
fetched from http://nodejs.org/dist/v0.10.38/node-v0.10.38.tar.gz
sysctl: cannot stat /proc/sys/hw/ncpu: No such file or directory
../deps/cares/src/ares_process.c: In function ‘read_udp_packets’:
../deps/cares/src/ares_process.c:481:48: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign]
                                   0, &from.sa, &fromlen);
                                                ^
In file included from ../deps/cares/src/ares_process.c:21:0:
/usr/include/arm-linux-gnueabihf/sys/socket.h:174:16: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘ares_socklen_t *’
 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,

How can exclude old node versions, or run just io.js 2.0.2 and maybe node 0.12?

thlorenz commented 9 years ago

It's using nave to download the node versions. Are you connected to the net and did npm install?

/root/benchmark/benchgraph/benchgraph: Bad substitution

Looks like you're running an older bash version that doesn't understand this.

You could hard code the DIR or just remove it and all references, things would still work most likely.

How can exclude old node versions, or run just io.js 2.0.2 and maybe node 0.12?

Just edit the benchgraph script.