Github user techaddict commented on the pull request:
https://github.com/apache/spark/pull/12913#issuecomment-217100211
@rxin figured out the problem, was using `var N` and its value was changed
before the benchmark ran so each benchmark was running effectvely for `N=5000`,
thus giving an impression of dead code elimination.
Plus I was passing function to kryo instead of value in one of the cases,
so that was also just wrong.
---
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]