-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_test.sh
63 lines (50 loc) · 1.22 KB
/
run_test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
cd napi_perf
npm install .
cd ..
## Download v8-fast-api-calls.h that matches your local nodejs version before you uncomment
#cd puerts_fastcall_perf
#npm install .
#cd ..
cd puerts_perf
npm install .
cd ..
cd puerts_v8_perf
npm install .
cd ..
cd v8api_perf
npm install .
cd ..
cd v8pp_pref
npm install .
cd ..
cd napi_perf
echo "--------------napi_perf-----------------"
node perf.js
echo "----------------------------------------"
cd ..
## Download v8-fast-api-calls.h that matches your local nodejs version before you uncomment
#cd puerts_fastcall_perf
#echo "--------------puerts_fastcall_perf-----------------"
#node --turbo-fast-api-calls perf.js
#echo "----------------------------------------"
#cd ..
cd puerts_perf
echo "--------------puerts_perf-----------------"
node perf.js
echo "----------------------------------------"
cd ..
cd puerts_v8_perf
echo "--------------puerts_v8_perf-----------------"
node perf.js
echo "----------------------------------------"
cd ..
cd v8api_perf
echo "--------------v8api_perf-----------------"
node perf.js
echo "----------------------------------------"
cd ..
cd v8pp_pref
echo "--------------v8pp_pref-----------------"
node perf.js
echo "----------------------------------------"
cd ..