Performance impact
See original GitHub issueI notice a quite important impact on performance when I activate variable inspector.
Basically, some cells that should execute very quickly, hangs for 5-10 seconds before executing. I didn’t found any pattern though - it seems like it can randomly happen (quite often thought).
It seems that this is happening when there is a variable that’s a big list of strings and I open the variable inspector at least once. For instance, I do this dumb test:
toto = [] for i in range(500*1000): toto.append(100*str(i))
Then I have 10 cells below with:
print(datetime.datetime.now())
that I execute quickly. Somewhere in the middle it will hang.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Performance Impacts
To accelerate our clients' performance by partnering with them to lead and transform their cultures, organizational strategies, leadership talent, ...
Read more >Impact Performance: Professional Sports Nutrition ...
Reach your Goals with Impact Nutritions ranges of high quality sports supplements for before during & after exercise. Buy Online.
Read more >Performance effects - Wikipedia
Strategy researchers want to understand differences in firm performance. ... A performance effect is an observed difference in business performance.
Read more >Performance Impact
We are a consulting business that specialises in creating breakthrough results for individuals, projects and organisations. Our unique methodology is ...
Read more >What Impacts Employee Performance & 5 Ways to Enhance It
Every organization's business success depends on its employees' performance. Find out how to measure performance and how to improve it.
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 FreeTop 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
Top GitHub Comments
I managed to reproduce the issue. As far as I can say now, this delay is only noticeable when using large pd DataFrames. The issue is a filter operation in the kernel side code which uses the string representation of an object to determine if an object should be shown in the inspector or not. Unsuprisingly, this is very inperformant for larger dataframes.
A fix should be ready tomorrow.
Hey, I just merged a fix into the master. According to my tests, this should solve the issue with dataframes. If you encounter further slow downs, please let me know.