Skip to content

Minimize GPU usage for interactive and notebook editor #8268

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

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

rchiodo
Copy link

@rchiodo rchiodo commented Oct 28, 2019

For #8003, #8039

Fix the execution spinner to be back and minimize our GPU cost.

It should be noted that the majority of our cost is actually the spinner that VS code puts up.

@codecov-io
Copy link

codecov-io commented Oct 28, 2019

Codecov Report

Merging #8268 into master will not change coverage.
The diff coverage is 44.44%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #8268   +/-   ##
=======================================
  Coverage   59.02%   59.02%           
=======================================
  Files         504      504           
  Lines       23093    23093           
  Branches     3733     3733           
=======================================
  Hits        13630    13630           
  Misses       8583     8583           
  Partials      880      880
Impacted Files Coverage Δ
src/datascience-ui/interactive-common/mainState.ts 50.94% <ø> (ø) ⬆️
src/client/datascience/types.ts 100% <ø> (ø) ⬆️
src/client/datascience/statusProvider.ts 9.43% <0%> (ø) ⬆️
...ractive-window/interactiveWindowCommandListener.ts 60.3% <100%> (ø) ⬆️
.../datascience/interactive-common/interactiveBase.ts 20.1% <42.85%> (ø) ⬆️
...ient/datascience/interactive-ipynb/nativeEditor.ts 53.84% <66.66%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24dd883...f02b838. Read the comment docs.

@@ -54,13 +54,13 @@ function createTypeMoq<T>(tag: string): TypeMoq.IMock<T> {
}

class MockStatusProvider implements IStatusProvider {
public set(_message: string, _timeout?: number, _cancel?: () => void, _panel?: IInteractiveBase): Disposable {
public set(_message: string, _inweb: boolean, _timeout?: number, _cancel?: () => void, _panel?: IInteractiveBase): Disposable {
Copy link
Member

@IanMatthewHuff IanMatthewHuff Oct 28, 2019

Choose a reason for hiding this comment

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

I think I touched this too, so might have to merge on that review. Or visa versa. Assuming yours is in first.

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

🕐

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

:shipit:

@rchiodo rchiodo merged commit e77018a into master Oct 28, 2019
@rchiodo rchiodo deleted the rchiodo/execution_count_spinner branch October 28, 2019 23:32
@lock lock bot locked as resolved and limited conversation to collaborators Nov 5, 2019
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.

4 participants