Skip to content

Timing measurement method #1

Open
@pauljurczak

Description

@pauljurczak

I am running some code benchmarks on Linux and I have a few comments about the method you used here:

  1. Setting CPU governor mode to performance will set CPU clock to turbo speed if available. This may be throttled down by CPU thermal management, when die temperature exceeds safe threshold, which will affect time measurements. Wouldn't it be better to set it to CPU rated speed and disabling turbo mode?
  2. I'm curious why you chose median times instead of minimum ones? Median is good for sanity check, but still contains noise induced by other system activities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions