enso/lib/scala
Hubert Plociniczak 0133e9ef4f
Drop inefficient SemVer implementation (#9089)
`Bump` library uses parser combinators behind the scenes which are known to be good at expressing grammars but are not performance-oriented.

This change ditches the dependency in favour of an existing Java implementation. `jsemver` implements the full specification, which is probably an overkill in our case, but proved to be an almost drop-in replacement for the previous library.

Closes #8692

# Important Notes
Peformance improvements:
- roughly 50ms compared to the previous approach (from 80ms to 20-40ms)

I don't see any time spent in the new implementation during startup so it could be potentially aggressively inlined.
Further more, we could use a facade and offer our own strip down version of semver.
2024-02-22 09:59:09 +00:00
..
akka-native/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
bench-processor/src Fix incremental compilation of runtime/test (#8975) 2024-02-13 10:05:31 +01:00
cli/src Build distribution for amd64 and aarch64 MacOS (#8407) 2023-12-05 11:24:02 +01:00
common-polyglot-core-utils/src/main/java/org/enso/polyglot/common_utils Add new text_left and text_right functions (#8691) 2024-01-15 23:43:23 +00:00
connected-lock-manager/src Remove akka from runtime (#8953) 2024-02-19 16:39:05 +00:00
connected-lock-manager-server/src/main/scala/org/enso/lockmanager/server Remove akka from runtime (#8953) 2024-02-19 16:39:05 +00:00
distribution-manager/src/main Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
downloader/src Remove akka from runtime (#8953) 2024-02-19 16:39:05 +00:00
edition-updater/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
edition-uploader/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
editions/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
filewatcher/src All unit tests use the same testing logging provider (#8593) 2023-12-21 13:45:33 +00:00
interpreter-dsl/src/main/java/org/enso/interpreter/dsl Make suspended atom fields work for boxed atoms (#8712) 2024-01-16 20:20:38 +00:00
json-rpc-server Further optimizations to test resources (#8936) 2024-02-02 22:49:48 +00:00
json-rpc-server-test Disable flaky test (#8967) 2024-02-05 13:41:43 +00:00
library-manager/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
library-manager-test/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
locking-test-helper/src/main enso4igv can open engine/language-server & co. projects (#4098) 2023-01-31 08:40:04 +00:00
logging-config/src/main/java/org/enso/logger Suppress logs for test cases unless a failure is reported (#8694) 2024-01-09 09:59:10 +00:00
logging-service/src/main/java/org/enso/logging Let logging to file respect log level (#8264) 2023-11-14 11:59:27 +00:00
logging-service-logback/src Suppress logs for test cases unless a failure is reported (#8694) 2024-01-09 09:59:10 +00:00
logging-truffle-connector/src/main Reduce extra output in compilation and tests (#7809) 2023-10-16 10:57:44 +02:00
logging-utils/src Update java formatter sbt plugin (#8543) 2023-12-15 14:45:23 +00:00
logging-utils-akka/src/main Replace a custom logger with off the shelf implementation (#7559) 2023-09-04 09:40:16 +00:00
pkg Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
profiling-utils/src On-deman backend heap and thread dump (#8320) 2023-11-20 11:41:01 +00:00
project-manager Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
refactoring-utils/src Speeding up "hello world" example by 16% 2023-11-19 16:38:31 +01:00
runtime-version-manager/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
runtime-version-manager-test/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
searcher/src Revert "Synchronize suggestions loading after the reconnect (#9043)" (#9072) 2024-02-15 13:39:56 +00:00
semver/src Drop inefficient SemVer implementation (#9089) 2024-02-22 09:59:09 +00:00
syntax Speeding up "hello world" example by 16% 2023-11-19 16:38:31 +01:00
task-progress-notifications/src/main/scala/org/enso/cli/task/notifications Scala 2.13.11 and libraries update (#7010) 2023-06-14 13:15:57 +00:00
testkit/src/main Add thread dump info to investigate MacOS timeouts (#8577) 2023-12-19 16:11:44 +00:00
text-buffer/src Remove org.bouncycastle dependency (#8664) 2024-01-04 17:16:41 +01:00
version-output/src/main Log project manager version on startup (#7646) 2023-08-24 16:45:22 +00:00