Skip to content

Commit 05ab098

Browse files
committed
benchmark without trim
1 parent 48d5a9f commit 05ab098

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
================================================================================================
2+
Benchmark trim the string
3+
================================================================================================
4+
5+
Java HotSpot(TM) 64-Bit Server VM 1.8.0_231-b11 on Mac OS X 10.15.1
6+
Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
7+
Benchmark trim the string: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
8+
------------------------------------------------------------------------------------------------------------------------
9+
cast(str as long) as c_long 3969 4401 402 1.0 968.9 1.0X
10+
cast(str as double) as c_double 3048 4448 1985 1.3 744.1 1.3X
11+
cast(str as decimal) as c_decimal 10042 11716 NaN 0.4 2451.8 0.4X
12+
13+

0 commit comments

Comments
 (0)