Skip to content
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

Heap size UI #718

Merged
merged 13 commits into from
Aug 26, 2022
Merged

Heap size UI #718

merged 13 commits into from
Aug 26, 2022

Conversation

Zhou-Ziheng
Copy link
Contributor

Fixes #715
Added Heap size monitoring UI Component
Added Heap Size Display in Console

@Zhou-Ziheng Zhou-Ziheng added the enhancement New feature or request label Aug 12, 2022
@Zhou-Ziheng Zhou-Ziheng self-assigned this Aug 12, 2022
@codecov
Copy link

codecov bot commented Aug 12, 2022

Codecov Report

Merging #718 (ec7d211) into main (743f253) will increase coverage by 0.00%.
The diff coverage is 2.04%.

@@           Coverage Diff            @@
##             main     #718    +/-   ##
========================================
  Coverage   35.76%   35.76%            
========================================
  Files         399      400     +1     
  Lines       30213    30324   +111     
  Branches     7403     7445    +42     
========================================
+ Hits        10805    10846    +41     
- Misses      19332    19435   +103     
+ Partials       76       43    -33     
Flag Coverage Δ
unit 35.76% <2.04%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/components/src/popper/Tooltip.tsx 4.57% <0.00%> (-0.04%) ⬇️
packages/console/src/HeapUsage.tsx 0.00% <0.00%> (ø)
...dashboard-core-plugins/src/panels/ConsolePanel.tsx 45.32% <100.00%> (ø)
packages/chart/src/Chart.tsx 0.00% <0.00%> (ø)
packages/chart/src/ChartModel.ts 40.74% <0.00%> (ø)
packages/chart/src/ChartModelFactory.ts 76.92% <0.00%> (ø)
...s/dashboard-core-plugins/src/panels/ChartPanel.tsx 61.63% <0.00%> (ø)
...ard-core-plugins/src/panels/ChartFilterOverlay.tsx 75.67% <0.00%> (ø)
packages/chart/src/ChartUtils.js
packages/chart/src/FigureChartModel.js
... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

defaultUpdateInterval: 10000,
hoverUpdateInterval: 3000,
}}
monitorDuration={60 * 10}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I wonder if 10 minutes is too long, graph moves so slow. Maybe 5?

Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows task manager shows performance over 60s, so maybe we move to 5 minutes and double the poll rate?

@dsmmcken
Copy link
Contributor

Visually, looks great.

Copy link
Contributor

@dsmmcken dsmmcken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

css of how you do the border might not be quite right, it's missing the right border when total is 100%

@Zhou-Ziheng Zhou-Ziheng requested a review from dsmmcken August 15, 2022 23:11
package.json Outdated Show resolved Hide resolved
packages/console/package.json Outdated Show resolved Hide resolved
packages/console/package.json Outdated Show resolved Hide resolved
packages/console/src/console-history/SizeUsageUI.scss Outdated Show resolved Hide resolved
packages/console/src/console-history/SizeUsageUI.tsx Outdated Show resolved Hide resolved
packages/console/src/console-history/SizeUsageUI.tsx Outdated Show resolved Hide resolved
packages/console/src/console-history/index.tsx Outdated Show resolved Hide resolved
packages/jsapi-shim/src/dh.types.ts Outdated Show resolved Hide resolved
@Zhou-Ziheng Zhou-Ziheng requested a review from mattrunyon August 17, 2022 18:39
Zhou-Ziheng and others added 3 commits August 19, 2022 14:37
- Exposed popper onEntered through tooltip component
- Have tooltip onEntered/onExited manage isOpen state
- Make tooltip interactive so it can be interacted with, copy text etc
- Clean up css
dsmmcken
dsmmcken previously approved these changes Aug 19, 2022
Copy link
Contributor

@dsmmcken dsmmcken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for ux only

packages/console/src/HeapUsage.tsx Outdated Show resolved Hide resolved
packages/console/src/HeapUsage.tsx Outdated Show resolved Hide resolved
packages/redux/src/actions.ts Outdated Show resolved Hide resolved
@dsmmcken dsmmcken requested a review from mattrunyon August 25, 2022 20:50
@dsmmcken dsmmcken merged commit b5523a8 into deephaven:main Aug 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request notable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display heap usage in console
4 participants