mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 00:47:12 +00:00
added benchmarks for numbers
This commit is contained in:
1 parent
1286d35767
commit
4c98c971b8
4 files changed
+59
No files matched your search
@@ -10,6 +10,7 @@ all: json_unit
|
||||
# clean up
|
||||
clean:
|
||||
rm -fr json_unit json_benchmarks fuzz fuzz-testing *.dSYM
|
||||
rm -fr benchmarks/files/numbers/*.json
|
||||
$(MAKE) clean -Cdoc
|
||||
|
||||
|
||||
@@ -85,6 +86,7 @@ pretty:
|
||||
|
||||
# benchmarks
|
||||
json_benchmarks: benchmarks/benchmarks.cpp benchmarks/benchpress.hpp benchmarks/cxxopts.hpp src/json.hpp
|
||||
cd benchmarks/files/numbers ; python generate.py
|
||||
$(CXX) -std=c++11 $(CXXFLAGS) -O3 -flto -I src -I benchmarks $< $(LDFLAGS) -o $@
|
||||
./json_benchmarks
|
||||
|
||||
|
||||
Reference in new issue
Block a user