0.2.3 performance issue
See original GitHub issueHi,
I run into a performance issue with 0.2.3 version. 0.2.2 works just fine. Below the sample from profiler output for test function. Also the profiler shows muchbigger output for 0.2.3.
from freezegun import freeze_time
import datetime
def test():
with freeze_time('2014-10-10'):
print datetime.datetime.now()
0.2.3:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.010 0.010 0.395 0.395 api.py:264(stop)
1 0.009 0.009 0.448 0.448 api.py:223(start)
1 0.000 0.000 0.395 0.395 api.py:220(__exit__)
1 0.000 0.000 0.448 0.448 api.py:217(__enter__)
0.2.2:
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.001 0.001 0.003 0.003 api.py:223(start)
1 0.001 0.001 0.002 0.002 api.py:255(stop)
1 0.000 0.000 0.002 0.002 api.py:220(__exit__)
1 0.000 0.000 0.003 0.003 api.py:217(__enter__)
Issue Analytics
- State:
- Created 9 years ago
- Reactions:4
- Comments:20 (5 by maintainers)
Top Results From Across the Web
HellSign v1.0.2.3 Patch Notes: Performance Issues Fixed ...
Some of the performance issues with the game such as stuttering and FX visibility issues were fixed. The game got a small VRAM...
Read more >Rejection Reasons: 0.2.3 - Instruc… | Apple Developer Forums
Hi,. For one of our apps we submitted a minor update and received a 'Rejection Reasons: 0.2.3' (Guideline 2.3 - Performance - Accurate...
Read more >Network performance issues, upgrade notes to 0.2.3
Network performance issues, upgrade notes to 0.2.3 ... We ran a stress test late last week that exposed quite a few issues with...
Read more >Upbge 0.2.4 performance issue - Game Engine - Blender Artists
Hi, I have noticed that graphics quality affect physics performance, animations speed and overall game speed. For instance, when shadows are ...
Read more >Evaluate (0.2)^3 - Mathway
Algebra Examples. Popular Problems · Algebra. Evaluate (0.2)^3. (0.2)3 ( 0.2 ) 3. Step 1. Raise 0.2 0.2 to the power of 3...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ping. The problem is urgent. I have about 0.5 sec per api.py:223(start) call. It is called 127 times, so total time is ~1 minute only for freezegun start.
I wrote my own simple tool https://github.com/pokidovea/immobilus It works on another principle. it is much faster.