feat: disable backup lock for embedded massive insertion only gaining…#1852
Merged
Conversation
… around 30% improvement in speed
Tested LocalDatabaseBenchmark on my MacBook Pro 2019 and it's able to insert 4.3M rec/sec (multi-threads, 1 property only, 1 unique index). With default settings (backup enabled = true) the performance dropped to 3.2M rec/sec
Added new global cfg:
BACKUP_ENABLED("arcadedb.backup.enabled")
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
mergify Bot
added a commit
that referenced
this pull request
May 3, 2026
Bumps `jline.version` from 4.0.12 to 4.0.14. Updates `org.jline:jline-terminal` from 4.0.12 to 4.0.14 Release notes *Sourced from [org.jline:jline-terminal's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.14 > ------------ > > * fix: correct inverted bounds check in readBuffered methods (3.x backport) ([#1855](https://redirect.github.com/jline/jline3/pull/1855)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump junit.version from 5.14.3 to 5.14.4 ([#1848](https://redirect.github.com/jline/jline3/pull/1848)) @[dependabot[bot]](https://github.com/apps/dependabot) > * chore: Bump actions/checkout from 4 to 6 ([#1847](https://redirect.github.com/jline/jline3/pull/1847)) @[dependabot[bot]](https://github.com/apps/dependabot) > > JLine 4.0.13 is a patch release with bug fixes for terminal handling, GraalVM native-image support, and encoding issues. > > Bug Fixes > --------- > > * Fix AttributedStyle color chaining ([#1792](https://redirect.github.com/jline/jline3/issues/1792)) > * Erase probe emoji after grapheme cluster width detection ([#1801](https://redirect.github.com/jline/jline3/issues/1801)) > * Register all FFM foreign function signatures for GraalVM native-image ([#1802](https://redirect.github.com/jline/jline3/issues/1802)) > * Register Kernel32 FFM downcall signatures for GraalVM native-image ([#1803](https://redirect.github.com/jline/jline3/issues/1803)) > * Deprecate SwingTerminal.dispose() in favor of close() ([#1811](https://redirect.github.com/jline/jline3/issues/1811)) > * Avoid NPE when closing terminal with null masterOutput ([#1813](https://redirect.github.com/jline/jline3/issues/1813)) > * Close PTY streams before shutdown to prevent hang on macOS ([#1817](https://redirect.github.com/jline/jline3/issues/1817)) > * Resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) > * Use terminal encoding instead of default charset in VirtualTerminal ([#1822](https://redirect.github.com/jline/jline3/issues/1822)) Commits * [`329f24c`](jline/jline3@329f24c) fix: remove proactive isNativeAccessEnabled() checks from terminal providers ... * [`5e62717`](jline/jline3@5e62717) fix: prevent DA response bytes from leaking to parent shell ([#1856](https://redirect.github.com/jline/jline3/issues/1856)) * [`2700ff2`](jline/jline3@2700ff2) chore: Bump org.graalvm.buildtools:native-maven-plugin ([#1851](https://redirect.github.com/jline/jline3/issues/1851)) * [`b37b1fa`](jline/jline3@b37b1fa) chore: Bump actions/upload-pages-artifact from 4 to 5 ([#1850](https://redirect.github.com/jline/jline3/issues/1850)) * [`3befc1b`](jline/jline3@3befc1b) chore: Bump org.graalvm.sdk:graal-sdk from 25.0.2 to 25.0.3 ([#1852](https://redirect.github.com/jline/jline3/issues/1852)) * [`edc3637`](jline/jline3@edc3637) fix: correct inverted bounds check in readBuffered methods ([#1854](https://redirect.github.com/jline/jline3/issues/1854)) * [`befdfce`](jline/jline3@befdfce) fix: pass explicit version to nisse in release workflow * [`2571aec`](jline/jline3@2571aec) chore: update nisse extension to 0.8.4 * [`acc413c`](jline/jline3@acc413c) fix: use terminal encoding instead of default charset in VirtualTerminal (fix... * [`96d9900`](jline/jline3@96d9900) fix: resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) * Additional commits viewable in [compare view](jline/jline3@4.0.12...4.0.14) Updates `org.jline:jline-reader` from 4.0.12 to 4.0.14 Release notes *Sourced from [org.jline:jline-reader's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.14 > ------------ > > * fix: correct inverted bounds check in readBuffered methods (3.x backport) ([#1855](https://redirect.github.com/jline/jline3/pull/1855)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump junit.version from 5.14.3 to 5.14.4 ([#1848](https://redirect.github.com/jline/jline3/pull/1848)) @[dependabot[bot]](https://github.com/apps/dependabot) > * chore: Bump actions/checkout from 4 to 6 ([#1847](https://redirect.github.com/jline/jline3/pull/1847)) @[dependabot[bot]](https://github.com/apps/dependabot) > > JLine 4.0.13 is a patch release with bug fixes for terminal handling, GraalVM native-image support, and encoding issues. > > Bug Fixes > --------- > > * Fix AttributedStyle color chaining ([#1792](https://redirect.github.com/jline/jline3/issues/1792)) > * Erase probe emoji after grapheme cluster width detection ([#1801](https://redirect.github.com/jline/jline3/issues/1801)) > * Register all FFM foreign function signatures for GraalVM native-image ([#1802](https://redirect.github.com/jline/jline3/issues/1802)) > * Register Kernel32 FFM downcall signatures for GraalVM native-image ([#1803](https://redirect.github.com/jline/jline3/issues/1803)) > * Deprecate SwingTerminal.dispose() in favor of close() ([#1811](https://redirect.github.com/jline/jline3/issues/1811)) > * Avoid NPE when closing terminal with null masterOutput ([#1813](https://redirect.github.com/jline/jline3/issues/1813)) > * Close PTY streams before shutdown to prevent hang on macOS ([#1817](https://redirect.github.com/jline/jline3/issues/1817)) > * Resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) > * Use terminal encoding instead of default charset in VirtualTerminal ([#1822](https://redirect.github.com/jline/jline3/issues/1822)) Commits * [`329f24c`](jline/jline3@329f24c) fix: remove proactive isNativeAccessEnabled() checks from terminal providers ... * [`5e62717`](jline/jline3@5e62717) fix: prevent DA response bytes from leaking to parent shell ([#1856](https://redirect.github.com/jline/jline3/issues/1856)) * [`2700ff2`](jline/jline3@2700ff2) chore: Bump org.graalvm.buildtools:native-maven-plugin ([#1851](https://redirect.github.com/jline/jline3/issues/1851)) * [`b37b1fa`](jline/jline3@b37b1fa) chore: Bump actions/upload-pages-artifact from 4 to 5 ([#1850](https://redirect.github.com/jline/jline3/issues/1850)) * [`3befc1b`](jline/jline3@3befc1b) chore: Bump org.graalvm.sdk:graal-sdk from 25.0.2 to 25.0.3 ([#1852](https://redirect.github.com/jline/jline3/issues/1852)) * [`edc3637`](jline/jline3@edc3637) fix: correct inverted bounds check in readBuffered methods ([#1854](https://redirect.github.com/jline/jline3/issues/1854)) * [`befdfce`](jline/jline3@befdfce) fix: pass explicit version to nisse in release workflow * [`2571aec`](jline/jline3@2571aec) chore: update nisse extension to 0.8.4 * [`acc413c`](jline/jline3@acc413c) fix: use terminal encoding instead of default charset in VirtualTerminal (fix... * [`96d9900`](jline/jline3@96d9900) fix: resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) * Additional commits viewable in [compare view](jline/jline3@4.0.12...4.0.14) Updates `org.jline:jline-terminal-jni` from 4.0.12 to 4.0.14 Release notes *Sourced from [org.jline:jline-terminal-jni's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.14 > ------------ > > * fix: correct inverted bounds check in readBuffered methods (3.x backport) ([#1855](https://redirect.github.com/jline/jline3/pull/1855)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump junit.version from 5.14.3 to 5.14.4 ([#1848](https://redirect.github.com/jline/jline3/pull/1848)) @[dependabot[bot]](https://github.com/apps/dependabot) > * chore: Bump actions/checkout from 4 to 6 ([#1847](https://redirect.github.com/jline/jline3/pull/1847)) @[dependabot[bot]](https://github.com/apps/dependabot) > > JLine 4.0.13 is a patch release with bug fixes for terminal handling, GraalVM native-image support, and encoding issues. > > Bug Fixes > --------- > > * Fix AttributedStyle color chaining ([#1792](https://redirect.github.com/jline/jline3/issues/1792)) > * Erase probe emoji after grapheme cluster width detection ([#1801](https://redirect.github.com/jline/jline3/issues/1801)) > * Register all FFM foreign function signatures for GraalVM native-image ([#1802](https://redirect.github.com/jline/jline3/issues/1802)) > * Register Kernel32 FFM downcall signatures for GraalVM native-image ([#1803](https://redirect.github.com/jline/jline3/issues/1803)) > * Deprecate SwingTerminal.dispose() in favor of close() ([#1811](https://redirect.github.com/jline/jline3/issues/1811)) > * Avoid NPE when closing terminal with null masterOutput ([#1813](https://redirect.github.com/jline/jline3/issues/1813)) > * Close PTY streams before shutdown to prevent hang on macOS ([#1817](https://redirect.github.com/jline/jline3/issues/1817)) > * Resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) > * Use terminal encoding instead of default charset in VirtualTerminal ([#1822](https://redirect.github.com/jline/jline3/issues/1822)) Commits * [`329f24c`](jline/jline3@329f24c) fix: remove proactive isNativeAccessEnabled() checks from terminal providers ... * [`5e62717`](jline/jline3@5e62717) fix: prevent DA response bytes from leaking to parent shell ([#1856](https://redirect.github.com/jline/jline3/issues/1856)) * [`2700ff2`](jline/jline3@2700ff2) chore: Bump org.graalvm.buildtools:native-maven-plugin ([#1851](https://redirect.github.com/jline/jline3/issues/1851)) * [`b37b1fa`](jline/jline3@b37b1fa) chore: Bump actions/upload-pages-artifact from 4 to 5 ([#1850](https://redirect.github.com/jline/jline3/issues/1850)) * [`3befc1b`](jline/jline3@3befc1b) chore: Bump org.graalvm.sdk:graal-sdk from 25.0.2 to 25.0.3 ([#1852](https://redirect.github.com/jline/jline3/issues/1852)) * [`edc3637`](jline/jline3@edc3637) fix: correct inverted bounds check in readBuffered methods ([#1854](https://redirect.github.com/jline/jline3/issues/1854)) * [`befdfce`](jline/jline3@befdfce) fix: pass explicit version to nisse in release workflow * [`2571aec`](jline/jline3@2571aec) chore: update nisse extension to 0.8.4 * [`acc413c`](jline/jline3@acc413c) fix: use terminal encoding instead of default charset in VirtualTerminal (fix... * [`96d9900`](jline/jline3@96d9900) fix: resolve redirect targets against session working directory ([#1781](https://redirect.github.com/jline/jline3/issues/1781)) * Additional commits viewable in [compare view](jline/jline3@4.0.12...4.0.14) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… around 30% improvement in speed
Tested LocalDatabaseBenchmark on my MacBook Pro 2019 and it's able to insert 4.3M rec/sec (multi-threads, 1 property only, 1 unique index). With default settings (backup enabled = true) the performance dropped to 3.2M rec/sec
Added new global cfg:
BACKUP_ENABLED("arcadedb.backup.enabled")