-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve ORC double and float performance with batch reads
Speedup: Benchmark Speedup BenchmarkStreamReaders.readDoubleNoNull 3.93x BenchmarkStreamReaders.readDoubleWithNull 1.57x BenchmarkStreamReaders.readFloatNoNull 5.17x BenchmarkStreamReaders.readFloatWithNull 1.70x Before: Benchmark Mode Cnt Score Error Units BenchmarkStreamReaders.readDoubleNoNull avgt 60 0.228 ± 0.004 s/op BenchmarkStreamReaders.readDoubleWithNull avgt 60 0.173 ± 0.002 s/op BenchmarkStreamReaders.readFloatNoNull avgt 60 0.212 ± 0.003 s/op BenchmarkStreamReaders.readFloatWithNull avgt 60 0.179 ± 0.003 s/op After: Benchmark Mode Cnt Score Error Units BenchmarkStreamReaders.readDoubleNoNull avgt 60 0.058 ± 0.001 s/op BenchmarkStreamReaders.readDoubleWithNull avgt 60 0.110 ± 0.002 s/op BenchmarkStreamReaders.readFloatNoNull avgt 60 0.041 ± 0.001 s/op BenchmarkStreamReaders.readFloatWithNull avgt 60 0.105 ± 0.001 s/op
- Loading branch information
Showing
4 changed files
with
129 additions
and
40 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