psf / pyperf

Toolkit to run Python benchmarks
http://pyperf.readthedocs.io/
MIT License
797 stars 78 forks source link

Refactor operations to fully work on AArch64. #191

Closed diegorusso closed 4 months ago

diegorusso commented 4 months ago

Create IntelPstateOperation class for Intel P-State operations. Enable CPUGovernor on AArch64 platforms. Replace all Class names with super() in the init method.

diegorusso commented 4 months ago

cc @vstinner @corona10 @mdboom

corona10 commented 4 months ago

I will take a look by this weekend :)

diegorusso commented 4 months ago

Can you try to avoid moving code? It makes the diff harder to review.

Like leaving TurboBoostIntelPstate after TurboBoostMSR.

Done, I tried moving less code possible.