Github user viirya commented on the pull request:
https://github.com/apache/spark/pull/11578#issuecomment-199151979
The benchmark with `p = 0.01`.
With replacement = true:
Westmere E56xx/L56xx/X56xx (Nehalem-C)
range/sample/sum: Best/Avg Time(ms) Rate(M/s)
Per Row(ns) Relative
-------------------------------------------------------------------------------------------
range/sample/sum codegen=false 53888 / 56592 9.7
102.8 1.0X
range/sample/sum codegen=true 41614 / 42607 12.6
79.4 1.3X
With replacement = false:
Westmere E56xx/L56xx/X56xx (Nehalem-C)
range/sample/sum: Best/Avg Time(ms) Rate(M/s)
Per Row(ns) Relative
-------------------------------------------------------------------------------------------
range/sample/sum codegen=false 12982 / 13384 40.4
24.8 1.0X
range/sample/sum codegen=true 7074 / 7383 74.1
13.5 1.8X
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]