Skip to content

Adds and integrates scr_bench_log#2

Draft
rmaddikery wants to merge 3 commits intomainfrom
rama_adds_scr_bench_log
Draft

Adds and integrates scr_bench_log#2
rmaddikery wants to merge 3 commits intomainfrom
rama_adds_scr_bench_log

Conversation

@rmaddikery
Copy link
Copy Markdown
Owner

@rmaddikery rmaddikery commented Apr 22, 2026

uname -a

QNX Qnx_S-core 8.0.0 2025/01/16-18:40:25EST x86pc x86_64

Release mode

# cd /usr/bin/datarouter && nohup on -A nonroot,allow,pathspace -u 1051:1091 ./datarouter --no_adaptive_runtime > /dev/null 2>&1 &
[1] 479245

# cd /usr/bin/benchmark/

# ./scr_bench_log_opt
2026-04-22T13:22:38+00:00
Running ./scr_bench_log
Run on (2 X 2899 MHz CPU s)
QnxDispatchEngine thread-start 1826f1bba0
QnxDispatchEngine thread-start-sync 1826f1bba0NvConfig error:
Failed to parse JSON configuration file
ProcessStateChange 0
ClientConnection::DoRestart 0 /logging.datarouter_recv
TryOpenClientConnection /logging.datarouter_recv
ProcessStateChange 1
QnxDispatchEngine io-open 1826f1bba0
Incoming connection, uid=1051, pid=487441
QnxDispatchEngine::io_msg 1826f1bba0

Benchmark Time CPU Iterations UserCounters...

LoggerFixture/BM_ScoreSteadyStateLogging 242 ns 239 ns 2868580 AllocPerLog=1 SideEffects=0 bytes_per_second=509.693Mi/s items_per_second=4.17541M/s
LoggerFixture/BM_Score_DisabledLog 47.9 ns 47.8 ns 14642536 SideEffects=0
TrySetStopReason 2
ProcessStateChange 2
ProcessStateChange 3
QnxDispatchEngine::SelectPulseCallback 1826f1bba0
QnxDispatchEngine::SelectPulseCallback pulse obsolete 1826f1bba0

Debug mode

# cd /usr/bin/benchmark/
# ./scr_bench_log
2026-04-22T13:27:50+00:00
Running ./scr_bench_log
Run on (2 X 2899 MHz CPU s)
WARNING Library was built as DEBUG. Timings may be affected.
QnxDispatchEngine thread-start 265a1a0ba0
QnxDispatchEngine thread-start-sync 265a1a0ba0
NvConfig error: Failed to parse JSON configuration file
ProcessStateChange 0
ClientConnection::DoRestart 0 /logging.datarouter_recv
TryOpenClientConnection /logging.datarouter_recv
ProcessStateChange 1
QnxDispatchEngine io-open 265a1a0ba0
Incoming connection, uid=1051, pid=487441
QnxDispatchEngine::io_msg 265a1a0ba0

Benchmark Time CPU Iterations UserCounters...

LoggerFixture/BM_ScoreSteadyStateLogging 6777 ns 6687 ns 95164 AllocPerLog=1 SideEffects=0 bytes_per_second=18.2541Mi/s items_per_second=149.537k/s
LoggerFixture/BM_Score_DisabledLog 405 ns 404 ns 1729994 SideEffects=0
TrySetStopReason 2
ProcessStateChange 2
ProcessStateChange 3
QnxDispatchEngine::SelectPulseCallback 265a1a0ba0
QnxDispatchEngine::SelectPulseCallback pulse obsolete 265a1a0ba0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant