-
Notifications
You must be signed in to change notification settings - Fork 660
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
Performance improvement on LLVM build time #20
Closed
renatoalencar
wants to merge
1
commit into
facebook:master
from
renatoalencar:llvm-build-improvement
Closed
Performance improvement on LLVM build time #20
renatoalencar
wants to merge
1
commit into
facebook:master
from
renatoalencar:llvm-build-improvement
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do a shallow clone using `--shallow-since` flag in order to spend less time cloning the LLVM repo. The LLVM repo is huge, which leads to a 400+ MB directory, and it takes a reasonable time to clone the repository. Adding a `--shallow-since` flag using the date before the desired revision led to a performance improvement of 4x cloning the repo.
matthargett
approved these changes
Jul 12, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dulinriley has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@dulinriley merged this pull request in 4233d4f. |
facebook-github-bot
pushed a commit
that referenced
this pull request
Oct 28, 2019
Summary: - Change the static_assert to allow JavaClass types. - Change pointer cast in getElement to use JniType. - In setElement, use new toPlainJniReference that converts JavaClass values to plain JNI references using ReprAccess. - NOTE: Maybe we should do this last one in JMethod::operator() as well, since it currently passes JavaClass values directly to env->Invoke* Pull Request resolved: facebookincubator/fbjni#20 Test Plan: CI Reviewed By: mhorowitz Differential Revision: D18121242 Pulled By: dreiss fbshipit-source-id: 634e92ab55a3bbf05efac5ac61193fb27f4d1445
Closed
1 task
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Do a shallow clone using
--shallow-since
flagin order to spend less time cloning the LLVM repo.
The LLVM repo is huge, which leads to a 400+ MB
directory, and it takes a reasonable time to clone
the repository.
Adding a
--shallow-since
flag using the datebefore the desired revision led to a performance
improvement of 4x cloning the repo.
The 8 Oct 2018 date is the day before the desired
revision specified in the code.
My local tests:
Without shallow clone:
With shallow clone: