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

[browserstack benchmark tool] Move CodeSnippet from backend to frontend #6738

Merged
merged 7 commits into from
Aug 11, 2022

Conversation

Linchenn
Copy link
Collaborator

@Linchenn Linchenn commented Aug 10, 2022

This PR moves CodeSnippet to benchmark from backend to frontend, and, let the frontend to pass the CodeSnippet to the backend, which allows frontend to customize the CodeSnippet, instead of fix CodeSnippet at backend.

Previously, CodeSnippet is hard-coded in benchmark_model.js at backend, which will be executed by BrowserStack instances.

After this PR, we could add UI elements to enable users to edit codeSnippet (at frontend).

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@Linchenn Linchenn changed the title [browserstack benchmark tool] Move CodeSnippet from server to client [browserstack benchmark tool] Move CodeSnippet from backend to frontend Aug 10, 2022
@Linchenn
Copy link
Collaborator Author

@pyu10055 Thank you for the suggestion! It is updated and is ready for reviewing.

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1, 3 of 3 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @lina128)

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

thanks!

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @lina128)

Copy link
Collaborator

@lina128 lina128 left a comment

Choose a reason for hiding this comment

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

Thank you for the refactoring! Looks great!

Reviewable status: :shipit: complete! 2 of 1 approvals obtained

@lina128 lina128 merged commit 996bdf4 into tensorflow:master Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants