forked from TechEmpower/FrameworkBenchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
Prereview of "Revamp the ktor-exposed portion and add new variant benchmarks with R2DBC"
#5
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
Closed
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
df1064e
Init the `result` mutable list and add elements with `mapTo` in the `…
ShreckYe e69dcc7
Bump all dependencies and toolchains to the latest
ShreckYe 59ed7f1
Migrate to Exposed v1 APIs
ShreckYe fc78803
Replace the deprecated `newSuspendedTransaction` call with `suspendTr…
ShreckYe 0506ac4
Bump the Java versions in the dockerfiles too
ShreckYe 2cc8974
Split the code into multiple files and reorganize the code for better…
ShreckYe ce4b1f8
Initially refactor to support different connection types JDBC and R2D…
ShreckYe efa1746
Copy the kotlinx-serialization `Json` configuration from the `ktor` p…
ShreckYe 6a0a55e
Update the config and Dockerfiles correspondingly
ShreckYe 6ff8b74
Merge branch 'ktor-exposed-revamp-dec-2025-copy-json-config' into kto…
ShreckYe 88ede95
Support R2DBC
ShreckYe 5db3a96
Revert to use ParallelGC in all Ktor benchmarks
ShreckYe 34532d1
Bump the Kotlin version to 2.3.0 in the `ktor-exposed` portion
ShreckYe 4b46ef6
Fix a format issue
ShreckYe 9e9c373
Rename the `Database` type parameter to `TDatabase` as Gemini Code As…
ShreckYe b9b07a7
Fix inconsistent ports 8080 and 9090 as suggested by Copilot
ShreckYe 6456fc1
Fix more inconsistent ports in the `ktor-asyncdb` portion too
ShreckYe 2283b19
Add comments about "Coroutine concurrent `select`s lead to connection…
ShreckYe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...s/Kotlin/ktor/ktor-exposed-dao.dockerfile → ...lin/ktor/ktor-exposed-jdbc-dao.dockerfile
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| FROM gradle:jdk21 | ||
| FROM gradle:jdk25 | ||
|
|
||
| WORKDIR /ktor-exposed | ||
| COPY ktor-exposed/settings.gradle.kts settings.gradle.kts | ||
| COPY ktor-exposed/app app | ||
| RUN gradle --no-daemon shadowJar | ||
|
|
||
| EXPOSE 8080 | ||
| EXPOSE 9090 | ||
|
|
||
| CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AlwaysPreTouch", "-jar", "app/build/libs/app-all.jar", "Dao"] | ||
| CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AlwaysPreTouch", "-jar", "app/build/libs/app-all.jar", "Jdbc", "Dao"] | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| FROM gradle:jdk25 | ||
|
|
||
| WORKDIR /ktor-exposed | ||
| COPY ktor-exposed/settings.gradle.kts settings.gradle.kts | ||
| COPY ktor-exposed/app app | ||
| RUN gradle --no-daemon shadowJar | ||
|
|
||
| EXPOSE 9090 | ||
|
|
||
| CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AlwaysPreTouch", "-jar", "app/build/libs/app-all.jar", "Jdbc", "Dsl"] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| FROM gradle:jdk25 | ||
|
|
||
| WORKDIR /ktor-exposed | ||
| COPY ktor-exposed/settings.gradle.kts settings.gradle.kts | ||
| COPY ktor-exposed/app app | ||
| RUN gradle --no-daemon shadowJar | ||
|
|
||
| EXPOSE 9090 | ||
|
|
||
| CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-XX:+AlwaysPreTouch", "-jar", "app/build/libs/app-all.jar", "R2dbc", "Dsl"] |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.