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

scala-cli export: Long execution time for simple export #957

Open
bjornregnell opened this issue Apr 29, 2022 · 1 comment
Open

scala-cli export: Long execution time for simple export #957

bjornregnell opened this issue Apr 29, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@bjornregnell
Copy link
Contributor

Version(s)

$ scala-cli version
0.1.4

Describe the bug

When running `scala-cli export --sbt main.scala -o sbt-proj``it takes a looong time to get any output so you might even think that it is hanging...

To Reproduce

$ cat main.scala 
@main def run = println("hello")

$ time scala-cli export --sbt main.scala -o sbt-proj

real    0m8,961s
user    0m6,808s
sys    0m2,177s

Expected behaviour
It would be good if 1) it didn't take so long to make a simple export and 2) if there was some initial output / feedback of what is coming and going on and if it takes a long time then there should be some kind of progress information.

@bjornregnell bjornregnell changed the title Long execution time for simple export scala-cli export: Long execution time for simple export Apr 29, 2022
@lwronski lwronski added the bug Something isn't working label Sep 13, 2022
@lwronski
Copy link
Contributor

@bjornregnell Thank you for reporting, and I apologize for the long response.

This issue could be related to #1765, as the scala-cli searches for the testFramework name in the classpath for a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants