-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Here are the results, each experiment consists of 40 forks of 10 warmups and 20 measurements each (that's what it takes to get ~30ms precision!): ConstantFold 12672.914 ± 29.044 ms/op InlineLocalObjects 12742.463 ± 29.693 ms/op DropNoEffects 12717.516 ± 28.266 ms/op DropGoodCasts 12753.709 ± 31.020 ms/op Jumpjump 12758.874 ± 28.979 ms/op Devalify 12820.393 ± 29.601 ms/op Valify 12732.851 ± 29.466 ms/op InlineOptions 12705.638 ± 29.186 ms/op RemoveUnnecessaryNullChecks 12740.366 ± 29.604 ms/op InlineCaseIntrinsics 12675.068 ± 29.075 ms/op Not Optimized 12731.068 ± 28.731 ms/op All Optimizations 12762.053 ± 28.751 ms/op Also here a count of how many time each optimization modifies a tree when bootstrapping (running all of them together): 20688 Devalify 7165 DropNoEffects 2787 InlineCaseIntrinsics 1340 ConstantFold 728 DropGoodCasts 76 InlineOptions 49 InlineLocalObjects 16 RemoveUnnecessaryNullChecks 3 Jumpjump Here are some additional numbers obtained using the Scala Native benchmarks: https://plot.ly/~olivierblanvillain/1/#plot
- Loading branch information
1 parent
37a5443
commit 22d9046
Showing
27 changed files
with
5 additions
and
2,089 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
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
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
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
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
67 changes: 0 additions & 67 deletions
67
compiler/src/dotty/tools/dotc/transform/localopt/BubbleUpNothing.scala
This file was deleted.
Oops, something went wrong.
198 changes: 0 additions & 198 deletions
198
compiler/src/dotty/tools/dotc/transform/localopt/ConstantFold.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.