Skip to content

Conversation

@Zylphrex
Copy link
Member

@Zylphrex Zylphrex commented Feb 7, 2022

Previously, much of the functionalities of the flamegraph zoom view was grouped
into a large useEffect. This refactor breaks it up into smaller pieces. To
summarize

  • Renderers have been lifted to the top using useMemo.
  • All draw calls to the renderers are grouped in a single useEffect.
  • All event listeners on the scheduler are gropued in a single useEffect.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2022

size-limit report

Path Base Size (9634872) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 54.02 KB 53.91 KB -0.21% 🔽
src/sentry/static/sentry/dist/entrypoints/sentry.css 68.96 KB 68.34 KB -0.92% 🔽

JonasBa and others added 2 commits February 8, 2022 08:24
Previously, much of the functionalities of the flamegraph zoom view was grouped
into a large `useEffect`. This refactor breaks it up into smaller pieces. To
summarize

- Renderers have been lifted to the top using `useMemo`.
- All draw calls to the renderers are grouped in a single `useEffect`.
- All event listeners on the scheduler are gropued in a single `useEffect`.
@Zylphrex Zylphrex force-pushed the txiao/ref/flamegraph-view branch from 3705bdb to a8e272f Compare February 8, 2022 20:37
Base automatically changed from jb/profiling/flamegraph-view to jb/profiling/flamegraph-renderer February 9, 2022 07:18
@JonasBa JonasBa force-pushed the jb/profiling/flamegraph-renderer branch from ddde2ca to 0dff416 Compare February 10, 2022 08:01
Base automatically changed from jb/profiling/flamegraph-renderer to master February 11, 2022 08:25
@Zylphrex
Copy link
Member Author

Gonna close this for now, too many merge conflicts to deal with

@Zylphrex Zylphrex closed this Feb 22, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2022
@Zylphrex Zylphrex deleted the txiao/ref/flamegraph-view branch March 15, 2022 20:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants