You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Marco Neumann (JIRA)" <ji...@apache.org> on 2019/05/30 19:46:00 UTC
[jira] [Created] (MATH-1485) Apache Commons Math Median Performance
Marco Neumann created MATH-1485:
-----------------------------------
Summary: Apache Commons Math Median Performance
Key: MATH-1485
URL: https://issues.apache.org/jira/browse/MATH-1485
Project: Commons Math
Issue Type: New Feature
Affects Versions: 3.6.1
Environment: jdk12.0.1
Reporter: Marco Neumann
in the most basic use case in sorting an Array Median().evaluate is not as efficient as a
simple sort. see benchmarks below
Total # of values -> 100,000,000
Average of 100 runs
[java] simple sort+pivot: 133 ms
[Apache Commons Math] Median().evaluate: 394 ms
see http://mail-archives.apache.org/mod_mbox/commons-user/201905.mbox/browser
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)