integrate: Jafama + KMath #357
No reviewers
Labels
No Label
bug
dependencies
discussion
documentation
duplicate
feature
good first issue
misc
performance
question
test
use case
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kscience/kmath#357
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "kmathJafama"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR resolves #176.
I've rebased the fork since we do not do merges directly to the master. Please resolve conflicts.
The module must be better documented (there should be a readme template). Also, there should be examples and a benchmark since the primary aim is performance.
Hey @altavir @CommanderTvis
While running Benchmarks i am running into this problem
Any workaround to test benchmarks?
Use JDK 11. @therealansh
The issue does not seem to be resolved even after using JDK 11. I am using IntelliJ as IDE and have set the JDK to be 11
Now it's a warning, and it's an issue to JMH and kotlinx-benchmark, which is already reported AFAIK.
@therealansh There are still some conflicts.
Benchmark and their results in README are still missing.
As i stated the benchmarks written does not run due to the warning and thus does not produce any results. I'll be finding a work around for it.
@therealansh The warning is completely harmless. It should work perfectly fine with it. So your problem is with something else. Try looking into the
benchmarks
subproject and just replicate what happens there.Still no benchmarcs.
The issue is still persistant. The resource file META_INF/BenchmarksList seems to be missing and i have tried the solutions but nothing seems to work
I am not sure how do you try to add benchmarks, but the ones here are obviously working. You just need to add a dependency on module a appropriate benchmark suite.
I am trying to run these with JMH but i guess there is an issue with JMH and Kotlin.
Are you saying that
gradle benchmark
task is failing? If it is, please create an issue with the description of the problem. The warning you described earlier is not the case of the problem.@altavir i guess the issue is related to this plugin i guess https://github.com/artyushov/idea-jmh-plugin/issues/22
Nobody talked about idea plugin. Just run benchmarks from gradle. Please see how it is done for other benchmarks.
I did the run the gradle and build the benchmarks but how can i see the results of the benchmarks?
In the terminal. Additional documentation is available in the plugin repository.
On running gradle benchmarks it just build but doesnt show any benchmarks of the any of the pre-built benchmark classes (BigIntBenchmark, ArrayBrnchmark and so on) do i have to run any other command as well?
Hey @altavir i added some benchmarks do i need to reflect in Readme as well?
It would be nice to have the results. In the module readme.
@therealansh last two thigs before merge:
Regarding the conflicts as i said should those basic arithmetic functions be removed? In my opinion they do not serve any purpose when we are comparing the libraries.
The benchmark shows that the core kotlin math is actually faster than jafama. But we will merge it nonetheless because it is a good example of a new module.
Is it plausible that jafama might perform better on relatively smaller numbers?