Comments (5)
Mean time (which is not a great way to compare but we don't have enough precision with only microsecond timing) difference is 5ns vs 1.7us for each loop iteration.
from tacho.
In this zipfile are the flame graphs of both branches, each running the multithread benchmark loop 50MM times: flame_graphs.zip
from tacho.
Top cpu users from perf report
for master.
+ 38.36% 0.00% multithread [unknown] [k] 0000000000000000 ▒
+ 35.26% 2.31% multithread [kernel.kallsyms] [k] entry_SYSCALL_64_fastpath ▒
+ 26.84% 0.31% multithread [kernel.kallsyms] [k] sys_futex ▒
+ 26.53% 0.37% multithread [kernel.kallsyms] [k] do_futex ▒
+ 23.96% 0.51% multithread libc-2.24.so [.] __lll_unlock_wake_private ▒
+ 23.12% 0.00% multithread [unknown] [k] 0x0000000000000001 ▒
+ 21.16% 1.23% multithread [kernel.kallsyms] [k] futex_wake ▒
+ 19.45% 19.45% multithread [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore ▒
+ 17.51% 0.05% multithread [kernel.kallsyms] [k] wake_up_q ▒
+ 17.44% 0.04% multithread [kernel.kallsyms] [k] try_to_wake_up ▒
+ 11.00% 10.95% multithread libc-2.24.so [.] _int_free ▒
+ 9.66% 0.00% multithread [unknown] [.] 0x0000558d7b0e78b0 ▒
+ 7.64% 7.59% multithread libc-2.24.so [.] malloc ▒
+ 6.70% 1.78% multithread libc-2.24.so [.] __lll_lock_wait_private ▒
+ 6.31% 6.25% multithread multithread [.] _ZN73_$LT$tacho..aggregator..Aggregator$u20$as$u20$```
from tacho.
Top cpu users from perf report
for ver/synchro-system
+ 33.61% 6.36% multithread [vdso] [.] __vdso_clock_gettime
+ 27.14% 8.26% multithread [kernel.kallsyms] [k] entry_SYSCALL_64_fastpath
+ 26.12% 0.00% multithread [unknown] [k] 0x0000000000000001
+ 15.93% 1.23% multithread [kernel.kallsyms] [k] sys_clock_gettime
+ 14.78% 0.27% multithread [kernel.kallsyms] [k] posix_ktime_get_ts
+ 14.58% 1.62% multithread [kernel.kallsyms] [k] ktime_get_ts64
+ 14.38% 0.00% multithread multithread [.] _ZN50_$LT$F$u20$as$u20$alloc..boxed..FnBox$LT$A$GT$$GT
+ 14.38% 0.00% multithread libpthread-2.24.so [.] start_thread
+ 12.84% 0.35% multithread [kernel.kallsyms] [k] kvm_clock_get_cycles
+ 12.72% 12.72% multithread [kernel.kallsyms] [k] pvclock_clocksource_read
+ 10.10% 10.10% multithread multithread [.] _ZN56_$LT$twox_hash..XxHash$u20$as$u20$core..hash..Has
+ 9.32% 0.72% multithread libc-2.24.so [.] __clock_gettime
+ 8.28% 8.28% multithread libpthread-2.24.so [.] __pthread_rwlock_wrlock
+ 8.25% 8.25% multithread libpthread-2.24.so [.] __pthread_rwlock_unlock
+ 8.03% 8.03% multithread multithread [.] _ZN56_$LT$twox_hash..XxHash$u20$as$u20$core..hash..Has
+ 6.27% 0.00% multithread [unknown] [.] 0x0000000000000002
+ 6.26% 0.00% multithread [unknown] [.] 0x0000000000000004
+ 6.26% 0.00% multithread [unknown] [.] 0x000072656b726f77
+ 4.05% 4.05% multithread multithread [.] _ZN3std11collections4hash5table9make_hash17h79b66d50
from tacho.
Closed now that #7 is merged.
from tacho.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tacho.