Adds and integrates scr_bench_log#2
Draft
rmaddikery wants to merge 3 commits intomainfrom
Draft
Conversation
- scr_bench_log and resective logging.json for the binary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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