Skip to content

Commit bab5f37

Browse files
committed
move benchmarking conversions to a dedicated program
1 parent bfedf3c commit bab5f37

File tree

3 files changed

+967
-430
lines changed

3 files changed

+967
-430
lines changed

bench/Jamfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,21 @@ exe bench :
4040
$(has_rapidjson)<define>BOOST_JSON_HAS_RAPIDJSON
4141
;
4242

43+
exe bench-conv
44+
: bench-conv.cpp
45+
/boost/json//boost_json
46+
: <include>../test
47+
<include>../example
48+
;
49+
4350
install bench-local : bench : <location>. <hardcode-dll-paths>true ;
4451
explicit bench-local ;
4552
always bench-local ;
4653

4754
local bench-files = [ glob-tree-ex data : *.json ] ;
4855
notfile run : @run-bench : bench : : <bench.file>$(bench-files) ;
49-
explicit run ;
56+
notfile run-conv : @run-bench : bench-conv : : <bench.file>$(bench-files) ;
57+
explicit run run-conv ;
5058

5159
rule run-bench ( target : sources * : props * )
5260
{

0 commit comments

Comments
 (0)