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.

Table component - Too many verbose browser console logs is leading to slow page load times in chrome and firefiox browser

See original GitHub issue

In our product we are using carbon table component, and when we try to load a screen containing table component, I get the below warnings as the page loads.

[Violation] Added non-passive event listener to a scroll-blocking ‘touchstart’ event. Consider marking event handler as ‘passive’ to make the page more responsive.

If the grid contains more than 50 rows, then I’m seeing more than 2K of these verbose logs being reported by chrome and page takes around 10-15 seconds to load in chrome.

In firefox, however the page becomes unresponsive and browser hangs.

This issue is mainly observed in screens using carbon angular table component. Other screens which doesnt contain table component, did not see any logs in browser console.

Below are the versions being used:

  "@angular/common": "8.2.14",
   "@angular/compiler": "8.2.14",
   "@angular/core": "8.2.14",
   "@angular/forms": "8.2.14",
   "@angular/platform-browser": "8.2.14",
   "@angular/platform-browser-dynamic": "8.2.14",
   "carbon-components": "10.9.3",
   "carbon-components-angular": "3.40.3"

Console screenshot is below:

Screenshot 2020-02-28 at 6 31 24 PM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cal-smithcommented, Mar 3, 2020

I’ll take a look at it 👍

1reaction
abhisheksinghranacommented, Mar 3, 2020

@cal-smith @zvonimirfras Can we get a fix for this issue available by this week? As we have a release on 11th March.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Table component - Too many verbose browser console logs is ...
Table component - Too many verbose browser console logs is leading to slow page load times in chrome and firefiox browser #1089.
Read more >
Bug 722685 - Console logging is slow - Bugzilla@Mozilla
However, display performance is actually poor. First run is fast. Subsequent runs take far more. The web inspector tool UI is frozen for...
Read more >
The 16 JavaScript debugging tips you probably didn't know
1. debugger ... After console.log, debugger is my favorite quick and dirty debugging tool. If you place a debugger; line in your code,...
Read more >
Debugging site speed with the Chrome DevTools Network tab
To check what's slowing down your page, open Chrome DevTools by right-clicking on the page and selecting Inspect. Then select the Performance ...
Read more >
How to quickly and conveniently disable all console.log ...
"the code is coupled to that infrastructure" : the code probably, but the pattern not. If you create a common basic template for...
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