Skip to content

scala-cli runs are slower than sbt? #1249

@soronpo

Description

@soronpo

Describe the bug

Rerunning the same code again and again with scala-cli is slow, whereas sbt runs much quicker

Scastie snippet link

No response

To Reproduce

  1. Create a new worksheet with just println("hello")
  2. Click multiple times on run and it runs fairly quick
  3. Change setup to scala-cli.
  4. Click multiple times on run and it remains "sending task to the server" too long compared to the sbt run

Expected behavior

The scala-cli runtime should be the same if not faster than sbt

Screenshot ( Optional )

No response

Version

Scastie website

What browsers are you seeing the problem on?

Firefox

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions