improved performance for dump()
This commit is contained in:
parent
cb873a42ed
commit
9dbb4402fb
6 changed files with 185 additions and 156 deletions
2
Makefile
2
Makefile
|
@ -33,6 +33,6 @@ pretty:
|
|||
src/json.hpp src/json.hpp.re2c test/unit.cpp benchmarks/benchmarks.cpp
|
||||
|
||||
# benchmarks
|
||||
json_benchmarks: benchmarks/benchmarks.cpp benchmarks/benchpress.hpp benchmarks/cxxopts.hpp
|
||||
json_benchmarks: benchmarks/benchmarks.cpp benchmarks/benchpress.hpp benchmarks/cxxopts.hpp src/json.hpp
|
||||
$(CXX) -std=c++11 $(CXXFLAGS) -O3 -flto -I src -I benchmarks $< $(LDFLAGS) -o $@
|
||||
./json_benchmarks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue