-
Notifications
You must be signed in to change notification settings - Fork 283
Prevent Chrome from crashing on large function lists. #858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@macetw I'll first merge my PR and then rebase your PR to update the reference. |
408babd
to
6810733
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGFM. Please can you check the change from {% if loop.first or loop.index % 10000 == 1 %}
to {% if loop.index0 % 10000 == 0 %}
.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #858 +/- ##
=======================================
Coverage 95.39% 95.39%
=======================================
Files 54 54
Lines 4496 4496
Branches 879 879
=======================================
Hits 4289 4289
Misses 126 126
Partials 81 81 ☔ View full report in Codecov by Sentry. |
I will test. Honestly, my last test didn't actually test it in Chrome -- I tested with very small sample sizes and small thresholds (3, rather than 10000). But truly, I need to test in Chrome. Today, I realized how to do this. (I was waiting for a colleague for vacation, but I found I can do this without him). It will take a little time to do this test to get all the data. |
…d it was now inconsistent.
21154c1
to
9e6539a
Compare
@macetw If this PR is merged I want to create a release. |
@macetw Have you found time to test this? |
Thanks for working on this. |
Designed to fix this issue: #857
Designed to base on top of this PR: #840
Work remaining: update reference HTML files. (which was also needed on commits from PR 840)