question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance impact

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lckrcommented, Oct 26, 2018

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.

0reactions
lckrcommented, Oct 27, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found