Skip to content

Commit

Permalink
Rollback to std memory allocator as the fastest one
Browse files Browse the repository at this point in the history
  • Loading branch information
trueangle committed Sep 24, 2024
1 parent d2c8c7f commit 961a60f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\=
io.ktor.development=true

#kotlin.native.cacheKind.linuxX64=none
kotlin.native.ignoreDisabledTargets=true
kotlin.native.binary.mimallocUseCompaction=true
kotlin.native.ignoreDisabledTargets=true
3 changes: 1 addition & 2 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ kotlin {
it.binaries {
executable {
entryPoint = "com.github.trueangle.knative.lambda.runtime.sample.main"
//freeCompilerArgs += listOf("-Xallocator=std")
freeCompilerArgs += listOf("-Xallocator=mimalloc")
freeCompilerArgs += listOf("-Xallocator=std")
}
}
}
Expand Down

0 comments on commit 961a60f

Please sign in to comment.