News for hackers. Stuff that matters.
Re:The logging framework isn't a bottleneck, and other lies ... by senderista on Thursday May 14, 2020 @02:18AM (#23176030)
LOL "the mechanical sympathy community"

Good article though. I'm sick of seeing comparative benchmarks on a MacBook. If you don't have real servers you should always benchmark your code in the cloud (bare metal instances if you can afford them).

Re:The logging framework isn't a bottleneck, and other lies ... by saurik on Thursday May 14, 2020 @06:46AM (#23177906)
Well, you should benchmark on similar setups to what you will deploy on: benchmarking on "real servers" or "bare metal instances" is also going to be highly misinformative if you expect most of your deployments to be on virtualized hardware under KVM or Xen.
Re:The logging framework isn't a bottleneck, and other lies ... by xxs on Thursday May 14, 2020 @09:58AM (#23179569)
benchmark on a thermal limited, turbo-boost enabled machine is usually a very bad idea. (single socket, etc.)

Edit: If you wish to microbenchmark - lock the CPU frequencies (core/uncore for intel), lock the voltage too and measure the power draw as well. You wish to use taskset too, depending how many cores the benchmark utilizes.