summaryrefslogtreecommitdiffhomepage
path: root/test/perf/linux/signal_benchmark.cc
AgeCommit message (Collapse)Author
2020-03-09perf/signal: rewrite code in assembly to avoid compiler optimizationsAndrei Vagin
Without this change, the assembly code of this test compiled without optimizations: mov -0x150(%rbp),%rax movl $0x77777777,(%rax) lea -0x128(%rbp),%rax with optimizations: movl $0x77777777,0x0 This code doesn't work properly, because the test changes rax in the segv handler. PiperOrigin-RevId: 299896117
2020-02-19Add basic microbenchmarks.Adin Scannell
PiperOrigin-RevId: 296104390