/Volumes/mituba_20180425/restart/sim_0.25 ❯❯❯ for i in 2gram 3gram 4gram 5gram 6gram uc;do cat time_"$i"_optim.csv | sed 's/elapsed_time://g' | sed 's/\[sec\]//g' | awk '{a+=$1} END {print a }';done
88.6788
81.9646
78.2733
96.5209
101.558
43.2117 sec
## 比較時間
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 291.62s user 33.10s system 174% cpu 3:06.05 total -> 3m 6s
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 188.37s user 22.00s system 166% cpu 2:06.32 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 152.93s user 17.38s system 166% cpu 1:42.20 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 146.59s user 16.66s system 164% cpu 1:39.01 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 135.22s user 15.43s system 163% cpu 1:32.24 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 176.08s user 20.39s system 173% cpu 1:52.99 total
## 全体
/Volumes/mituba_20180425/restart/sim_0.25 ❯❯❯ for i in 2gram 3gram 4gram 5gram ; do time ./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i" -r 231476 -l 15 > compare_time_"$i"_all.csv;done
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 1050.18s user 565.96s system 91% cpu 29:29.31 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 4363.71s user 6202.73s system 111% cpu 2:38:20.91 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 4307.24s user 3754.74s system 112% cpu 1:59:35.37 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 4924.91s user 4020.26s system 115% cpu 2:09:04.71 total
/Volumes/mituba_20180425/restart/sim_0.25 ❯❯❯ for i in 6gram uc ; do time ./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i" -r 231476 -l 15 > compare_time_"$i"_all.csv;done
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 3452.51s user 2869.43s system 115% cpu 1:31:28.16 total
./sim_0.25 -m compare -f ../../activemq-protobuf-test-1.1.jar-"$i".csv -b "$i 914.91s user 340.97s system 119% cpu 17:31.60 total