Skip to content

Conversation

@mkroening
Copy link
Member

@mkroening mkroening commented Oct 27, 2025

This was proposed by @hcsch in #1995 (858b1e6).

Is this useful to us without the context of that PR?

@mkroening mkroening self-assigned this Oct 27, 2025
Talc can optionally collect and expose some basic statistics about
allocations. Provide a feature that regularly prints these statistics
via another executor tassk.
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Results

Benchmark Current: 5bc3636 Previous: 0a574f1 Performance Ratio
startup_benchmark Build Time 111.39 s 112.17 s 0.99
startup_benchmark File Size 0.91 MB 0.86 MB 1.06
Startup Time - 1 core 0.90 s (±0.04 s) 0.92 s (±0.03 s) 0.98
Startup Time - 2 cores 0.90 s (±0.04 s) 0.91 s (±0.03 s) 0.98
Startup Time - 4 cores 0.93 s (±0.03 s) 0.90 s (±0.03 s) 1.04
multithreaded_benchmark Build Time 111.29 s 110.29 s 1.01
multithreaded_benchmark File Size 1.01 MB 0.96 MB 1.05
Multithreaded Pi Efficiency - 2 Threads 89.76 % (±9.25 %) 90.21 % (±11.06 %) 1.00
Multithreaded Pi Efficiency - 4 Threads 44.10 % (±3.63 %) 43.77 % (±3.68 %) 1.01
Multithreaded Pi Efficiency - 8 Threads 25.63 % (±2.86 %) 25.74 % (±2.50 %) 1.00
micro_benchmarks Build Time 284.01 s 268.25 s 1.06
micro_benchmarks File Size 1.01 MB 0.97 MB 1.05
Scheduling time - 1 thread 169.00 ticks (±14.27 ticks) 148.09 ticks (±20.64 ticks) 1.14
Scheduling time - 2 threads 97.53 ticks (±18.06 ticks) 84.62 ticks (±21.43 ticks) 1.15
Micro - Time for syscall (getpid) 10.32 ticks (±4.24 ticks) 9.69 ticks (±3.51 ticks) 1.06
Memcpy speed - (built_in) block size 4096 57957.91 MByte/s (±41594.30 MByte/s) 60088.55 MByte/s (±43602.38 MByte/s) 0.96
Memcpy speed - (built_in) block size 1048576 15344.32 MByte/s (±12521.02 MByte/s) 15955.36 MByte/s (±12877.41 MByte/s) 0.96
Memcpy speed - (built_in) block size 16777216 9231.42 MByte/s (±7584.54 MByte/s) 11539.44 MByte/s (±9422.40 MByte/s) 0.80
Memset speed - (built_in) block size 4096 58151.33 MByte/s (±41734.24 MByte/s) 60692.81 MByte/s (±43930.14 MByte/s) 0.96
Memset speed - (built_in) block size 1048576 15624.54 MByte/s (±12658.21 MByte/s) 16329.57 MByte/s (±13087.08 MByte/s) 0.96
Memset speed - (built_in) block size 16777216 9273.12 MByte/s (±7596.95 MByte/s) 11768.44 MByte/s (±9537.48 MByte/s) 0.79
Memcpy speed - (rust) block size 4096 52606.99 MByte/s (±38515.83 MByte/s) 52603.46 MByte/s (±39907.35 MByte/s) 1.00
Memcpy speed - (rust) block size 1048576 15408.16 MByte/s (±12439.37 MByte/s) 15838.45 MByte/s (±12923.25 MByte/s) 0.97
Memcpy speed - (rust) block size 16777216 9644.44 MByte/s (±8002.30 MByte/s) 11496.86 MByte/s (±9346.63 MByte/s) 0.84
Memset speed - (rust) block size 4096 53124.81 MByte/s (±38823.71 MByte/s) 53627.63 MByte/s (±40204.50 MByte/s) 0.99
Memset speed - (rust) block size 1048576 15718.35 MByte/s (±12610.37 MByte/s) 16175.83 MByte/s (±13086.77 MByte/s) 0.97
Memset speed - (rust) block size 16777216 9686.13 MByte/s (±8013.87 MByte/s) 11803.55 MByte/s (±9534.43 MByte/s) 0.82
alloc_benchmarks Build Time 284.10 s 275.93 s 1.03
alloc_benchmarks File Size 0.97 MB 0.92 MB 1.05
Allocations - Allocation success 100.00 % 100.00 % 1
Allocations - Deallocation success 100.00 % 100.00 % 1
Allocations - Pre-fail Allocations 100.00 % 100.00 % 1
Allocations - Average Allocation time 16535.50 Ticks (±624.41 Ticks) 16993.86 Ticks (±868.21 Ticks) 0.97
Allocations - Average Allocation time (no fail) 16535.50 Ticks (±624.41 Ticks) 16993.86 Ticks (±868.21 Ticks) 0.97
Allocations - Average Deallocation time 2026.45 Ticks (±348.57 Ticks) 2094.62 Ticks (±499.20 Ticks) 0.97
mutex_benchmark Build Time 284.27 s 283.00 s 1.00
mutex_benchmark File Size 1.02 MB 0.97 MB 1.05
Mutex Stress Test Average Time per Iteration - 1 Threads 34.24 ns (±3.82 ns) 34.04 ns (±3.45 ns) 1.01
Mutex Stress Test Average Time per Iteration - 2 Threads 29.46 ns (±2.20 ns) 29.22 ns (±3.01 ns) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

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.

3 participants