-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6685d4
commit 3149f14
Showing
1 changed file
with
3 additions
and
4 deletions.
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 |
---|---|---|
@@ -1,18 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
cd 1-original | ||
javac IthWord.java | ||
native-image IthWord --emit build-report | ||
./ithword 1 | ||
|
||
cp optimized/IthWord-1.java IthWord.java | ||
cd ../2-optimized | ||
javac IthWord.java | ||
native-image IthWord --emit build-report | ||
./ithword 1 | ||
cp optimized/IthWord-original.java IthWord.java | ||
|
||
cp optimized/IthWord-2.java IthWord.java | ||
cp ../3-optimized | ||
javac IthWord.java | ||
native-image IthWord --emit build-report | ||
./ithword 1 | ||
cp optimized/IthWord-original.java IthWord.java |