Sam Darwin
Sam Darwin
Hi @grisumbras , thanks! There were two ideas in the issue with the newer, later idea being a log file. Upon further consideration I think that would have been preferable,...
The debugging commands `lscpu` and `top` ought to be run every second, constantly, during the benchmark tests. Therefore, it becomes less critical to run them before and after each bench....
Great!! I will test it.
/tmp/benchmark_external_script.sh ``` #!/bin/bash touch external_script_is_working.txt touch /tmp/external_script_is_working.txt echo >>/tmp/json-benchmarks.log $(date +'%Y/%m/%d %H:%M:%S:%3N') "$@" ``` Bench command: BOOST_JSON_BENCH_EXTERNAL_COMMAND=/tmp/benchmark_external_script.sh ./bench -i:b * Quotes are missing around /tmp/benchmark_external_script.sh to avoid escaping quotes through...
Ok thanks. I think I know what it is.
Compare the numerical results at the end of the line. ``` Parse apache_builds.json,clang x64/sse2,boost (pool),15000,5039,361 Parse apache_builds.json,clang x64/sse2,boost (pool),15624,5221,363 Parse apache_builds.json,clang x64/sse2,boost (pool),15708,5245,364 Parse apache_builds.json,clang x64/sse2,boost (pool),14960,5020,362 Parse apache_builds.json,clang x64/sse2,boost...
This PR was an attempt to analyze and debug the performance of a new server, in general. Not specific to canada.json. A benchmark machine should be as stable as possible,...
Something else affecting the current benchmarks is that new machine is running Ubuntu 22.04 and clang-14. As soon as there is a supported upgrade path to Ubuntu 24.04 and clang-18...
> It looks like on this new machine it doesn't like parsing twitter.json with clang. Right. The results have a lot of randomization. Either red or green is not important...
> gateway and lattice network have to have the same name There may be good reasons not to do this, but a solution that definitely comes to mind anyway: if...