cactusdynamics / cactus-rt

A C++ framework for programming real-time applications
Mozilla Public License 2.0
84 stars 18 forks source link

tracing perf regression on CI machine #78

Open shuhaowu opened 3 months ago

shuhaowu commented 3 months ago

image

Now:

build/test/tests/cactus_rt_tracing_benchmark
2024-03-19T20:02:13-04:00
Running build/test/tests/cactus_rt_tracing_benchmark
Run on (12 X 4463.67 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x6)
  L1 Instruction 32 KiB (x6)
  L2 Unified 512 KiB (x6)
  L3 Unified 16384 KiB (x1)
Load Average: 1.92, 0.44, 0.14
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
***WARNING*** Library was built as DEBUG. Timings may be affected.
---------------------------------------------------------------------------------------------------------
Benchmark                                                               Time             CPU   Iterations
---------------------------------------------------------------------------------------------------------
BM_ThreadTracerWithSpanEnabledNoCategory/iterations:10000000         2512 ns         2512 ns     10000000
BM_ThreadTracerWithSpanEnabledWithCategory/iterations:10000000       2529 ns         2529 ns     10000000
BM_ThreadTracerWithSpanDisabled/iterations:10000000                  18.6 ns         18.6 ns     10000000
BM_ThreadTracerWithSpanQueueFull/iterations:10000000                 2432 ns         2432 ns     10000000
shuhaowu commented 3 months ago

Trying release build didn't help. It still complains about the same debug problem. Maybe something happened with the debian package.

shuhaowu commented 3 months ago

Tried on the same machine with ubuntu docker container and the same problem, but no warning message.