Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up of previously generated benchmarks #16

Open
alexander-myltsev opened this issue Jul 24, 2014 · 7 comments
Open

Clean up of previously generated benchmarks #16

alexander-myltsev opened this issue Jul 24, 2014 · 7 comments
Labels

Comments

@alexander-myltsev
Copy link
Contributor

When I created a benchmark, some classes are generated to output path. Then I deleted this benchmark from sources. But sbt benchmarkproject/run is still trying to find those classes causing error as follows:

[error]   symbol:   class JMHSample_01_HelloWorld
[error]   location: package org.openjdk.jmh.samples
[error] /Users/alex/projects/orca/benchmarks/target/scala-2.11/generated-sources/jmh/org/openjdk/jmh/samples/generated/JMHSample_01_HelloWorld_wellHelloThere.java:68: error: cannot find symbol
[error]                 l_jmhsample_01_helloworld0_0.wellHelloThere();
[error]       

Is it a bug? Or am I doing something wrong?

@ktoso
Copy link
Member

ktoso commented Jul 24, 2014

It's a bug. Thanks for reporting it explicitly.
I should have some time over the weekend to work on the plugin again.

@ktoso ktoso added the bug label Jul 24, 2014
@alexander-myltsev
Copy link
Contributor Author

👍

@alexander-myltsev
Copy link
Contributor Author

@ktoso any good news on closing this issue?

@ktoso
Copy link
Member

ktoso commented Jul 28, 2014

Then there would be commits or comments.
Not yet, was organising a workshop over the weekend, drained my strength too much..

@alexander-myltsev
Copy link
Contributor Author

OK. Looking forward to updates. Take care. Good luck!

@sokrahta
Copy link
Contributor

running clean and compile in the benchmark project should handle that,
but it would be nice to have the run task know that streams had changes and trigger a new incremental compile

@ktoso
Copy link
Member

ktoso commented May 18, 2015

Correct @sokrahta, I'd love to implement this tracking feature however do not have the time currently. If you'd be able to help out please do! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants