Skip to content

Measure + improve performance #410

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

Open
2 of 7 tasks
Domiii opened this issue Nov 5, 2020 · 1 comment
Open
2 of 7 tasks

Measure + improve performance #410

Domiii opened this issue Nov 5, 2020 · 1 comment
Labels
performance Performance of runtime analysis tools can be quite a nuisance.

Comments

@Domiii
Copy link
Owner

Domiii commented Nov 5, 2020

Data Size

Observations

  • A trace is about 200-300 bytes (JSON.stringify). Meaning 800 traces generate 200+kb.
    • dataNode is a little bit smaller.

Performance Analysis Basics

Need to measure each of the following on a variety of different projects.

NOTE: Always measure performance in Production mode.

  • webpack build performance with + without Dbux
  • execution speed with + without Dbux
  • file size with + without Dbux
  • socket.io dbux-runtime -> dbux-code transfer speed
  • time spent visualizing the different Dbux components
    • RuntimeDataProvider.addData
    • GraphRoot.handleRefresh (will be part of the time spent during addData)
    • NOTE: while we don't have generalized performance counters for this yet, it is a lot less of a bottleneck, since we implemented lazy-load of graph node rendering.
  • add performance profiling
    • instrumentation, runtime, encoding, runtimeWaiting (currently includes a big part of postProcessing), totalRuntime, noDbuxRuntime
@Domiii Domiii added the performance Performance of runtime analysis tools can be quite a nuisance. label Nov 5, 2020
@Domiii Domiii self-assigned this Nov 5, 2020
@Domiii Domiii changed the title Measure performance Measure + improve performance Nov 5, 2020
@Domiii
Copy link
Owner Author

Domiii commented Apr 5, 2021

@Domiii Domiii removed their assignment Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance of runtime analysis tools can be quite a nuisance.
Projects
None yet
Development

No branches or pull requests

2 participants