-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Target x86-64-v2 (~2% gain), enable thin lto (~1% gain)
- Loading branch information
1 parent
1ebcae9
commit 6b3e021
Showing
3 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
# Targetting x86-64-v2 gives a ~2% performance boost while only | ||
# disallowing Intel CPUs older than 2008 and AMD CPUs older than 2011. | ||
# None of those very old CPUs are used in GCP | ||
# (https://cloud.google.com/compute/docs/cpu-platforms). Unfortunately, | ||
# AWS does not seem to disclose the exact CPUs they use. | ||
rustflags = ["-C", "target-cpu=x86-64-v2"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ QUESTIONS.txt | |
.idea | ||
.vscode | ||
.vscode-license | ||
.cargo | ||
deps | ||
qwdata | ||
elastic-search-artifacts | ||
|
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