sbt-ci-release
JMH
sbt-ci-release | JMH | |
---|---|---|
6 | 3 | |
274 | 782 | |
0.0% | 0.1% | |
6.1 | 7.0 | |
9 days ago | 9 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sbt-ci-release
-
Publish a Scala Library using Github Actions in No Time
I'm a bit surprised to see sbt-ci-release (https://github.com/sbt/sbt-ci-release) not even mentioned. It's widely used for this.
-
sbt Plugins Community Repository
The sooner JARs are on Maven, the better for all of us. With https://github.com/sbt/sbt-ci-release/ publishing is sooo easy.
-
Need Help Creating Scala JS Library Artifact
The first thing you must try is running sbt publishLocal then, you should be able to depend on the artifact from another project, when that works, you will likely want to publish the artifacts somewhere, maven central is the most popular way but it requires some setup, you can use https://github.com/sbt/sbt-ci-release to auto-publish on new commits (it explains how to get a sonatype account), github-packages is very handy but it requires a github access token to pull the packages (https://github.com/djspiewak/sbt-github-packages).
-
Show HN: Simple games ported to Scala 3 – Try them in the browser
> Veautiful - https://www.wbillingsley.com/veautiful/
Thanks for sharing, first time I see this project mentioned.
> Any day now, I'll get a chance to improve the documentation of the framework (and give it a proper release rather than using JitPack snapshots all the time).
It is worth commenting about https://github.com/sbt/sbt-ci-release which makes it simple to auto-publish to maven central.
-
Publishing a library
Use https://github.com/sbt/sbt-ci-release
-
Trying to implement git actions for sonatypeRelease
sbt-ci-release is a great one-stop shop for this. It handles sbt-pgp, sbt-release and sbt-sonatype for you, so you don't have to configure them individually yourself. The readme also has an easy to follow tutorial.
JMH
-
Scala collections benchmark - revisited
Also, it has an amazing SBT plugin integration.
-
Why is Scala so much slower than JavaScript/Node at running iterations?
Take a look at sbt-jhm for doing benchmarks. Java in particular is hard to measure because of optimizations that happen at run-time. jhm runs multiple iterations and gives tools to ensure that function calls and loops that may be optimized away are kept around and tested. You may also find some cases that are faster in node.js because the Javascript V8 engine is highly optimized.
-
Help with making backtracking more efficient
Also, if you really want to know what the performance characteristics are you should use JMH (sbt plugin https://github.com/sbt/sbt-jmh). Not sure how you are evaluating the performance but things like JVM startup and warming can make a big difference. JMH will give you a better idea of real world performance when the JVM is already started and any relevant hot code has been JIT compiled.
What are some alternatives?
sbt-versions
JITWatch - Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
coursier - Pure Scala Artifact Fetching
honest-profiler - A sampling JVM profiler without the safepoint sample bias
sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala
Sniffy - Sniffy - interactive profiler, testing and chaos engineering tool for Java
tut - doc/tutorial generator for scala
LatencyUtils - Utilities for latency measurement and reporting
sbt-updates - sbt plugin that can check Maven and Ivy repositories for dependency updates
sbt-sonatype - A sbt plugin for publishing Scala/Java projects to the Maven central.
xsbt-web-plugin - Servlet support for sbt
jHiccup - jHiccup is a non-intrusive instrumentation tool that logs and records platform "hiccups" - including the JVM stalls that often happen when Java applications are executed and/or any OS or hardware platform noise that may cause the running application to not be continuously runnable.