Skip to main content

New answers tagged

0 votes

How to test for performance regression?

Ewan has described good practices for software benchmarking. I would recommend looking up algorithm engineering for more information on how to do this effectively. Choose the hardware evaluation ...
Giovanni's user avatar
3 votes

How to test for performance regression?

If you just want to make sure the algorithm does not show up quadratic run time behaviour, and you know the basic constant startup time is almost negligible, then you can simply run the code twice, ...
Doc Brown's user avatar
  • 214k
4 votes

How to test for performance regression?

The catch all general performance test is to run on the same hardware as live and ramp up a representative-of-live load until the app crashes or tops out. This catches all sorts of edge cases and the ...
Ewan's user avatar
  • 79.9k
1 vote
Accepted

Best practice when declaring imports with different execution contexts in python?

That relative imports work differently depending on whether you are in a package context or not is one the 'features' of Python that annoys me and I have never really understood the need or reason for ...
JimmyJames's user avatar
  • 28.9k
0 votes

How to structure python modules/packages according to dependecy inversion

No it's all right when subpackages depend on higher modules or packages depend on subpackages. The circular import problem not related to that. It can appear even if files have the same nesting level. ...
blnk.off's user avatar

Top 50 recent answers are included