C++ toolbox
Go to file
tqcq aad01f1f22
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Waiting to run
linux-arm-gcc / linux-gcc-arm (push) Failing after 3m7s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 4m19s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (pull_request) Failing after 3m5s
linux-arm-gcc / linux-gcc-arm (pull_request) Failing after 3m0s
linux-arm-gcc / linux-gcc-armhf (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Release) (pull_request) Has been cancelled
fix arm build
2024-04-02 11:10:56 +08:00
.gitea/workflows fix arm build 2024-04-02 11:10:56 +08:00
3party feat add lua 2024-03-31 19:44:27 +08:00
src/sled feat undef REQUIRE,CHECK,CHECK_EQ 2024-04-02 10:47:18 +08:00
tests feat add lua 2024-03-31 19:44:27 +08:00
toolchains fix base64 test failed. 2024-04-01 10:47:59 +08:00
.clang-format feat update 2024-03-27 23:16:26 +08:00
.gitignore fix base64 test failed. 2024-04-01 10:47:59 +08:00
.gitmodules feat add marl for fiber 2024-03-08 18:05:40 +08:00
CMakeLists.txt feat remove async,thread_pool test for arm 2024-04-02 10:15:02 +08:00
README.md feat update picobench 2024-03-31 00:51:44 +08:00

sled

  • add log module
  • add http module(cpp-httplib)
  • add ORM module

Benchmark

Name (* = baseline) ns/op Baseline Ops/second
Random bool * 9 - 109123586.4
Random int8_t 7 0.778 134375880.8
Random int32_t 8 0.889 120300189.7
Random uint32_t 7 0.778 131234452.1
Random uint32_t range 8 0.889 123079276.7
Gaussian(0, 1) 17 1.889 58742994.8
Exponential(1) 12 1.333 81447219.4
Random float 7 0.778 136571495.3
Random double 7 0.778 131796121.5
Base64Encode 106299 11811.000 9407.4
Base64Decode 104897 11655.222 9533.1
ThreadBlockingCallByDefaultSocketServer 6624 736.000 150950.1
ThreadBlockingCallByNullSocketServer 5309 589.889 188358.8
ThreadPoolBench 3096 344.000 322941.4
SystemTimeNanos 24 2.667 40659163.6