mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
45d318a773
commit
87472150bc
14 changed files with 18190 additions and 4 deletions
16
lib/catch2/CMakeLists.txt
Normal file
16
lib/catch2/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
# catch2 is distributed as a standalone header.
|
||||
#
|
||||
# Downloaded from:
|
||||
#
|
||||
# https://github.com/catchorg/Catch2/releases/download/v2.13.9/catch.hpp
|
||||
#
|
||||
# The following changes were made to always print in microseconds, fixed format:
|
||||
#
|
||||
# - explicit Duration(double inNanoseconds, Unit units = Unit::Auto)
|
||||
# + explicit Duration(double inNanoseconds, Unit units = Unit::Microseconds)
|
||||
#
|
||||
# - return os << duration.value() << ' ' << duration.unitsAsString();
|
||||
# + return os << std::fixed << duration.value() << ' ' << duration.unitsAsString();
|
||||
|
||||
add_library(catch2 INTERFACE)
|
||||
target_include_directories(catch2 INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
17970
lib/catch2/catch.hpp
Normal file
17970
lib/catch2/catch.hpp
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue