CodSpeedHQ
codspeed-jvm
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
chore: Release v0.2.1
main
3 days ago
perf(perf-map-agent): index the git root once instead of walking it per source lookup Every distinct class-relative source path that is not on disk (JDK and dependency classes) triggered a full recursive walk of the git root on the JVM service thread, concurrently with the running benchmark. With ~130 distinct misses on a ~6500-file tree this was ~130k getdents64 and ~450k stat calls, and ~1s of service-thread CPU during a ~3.5s run. The git root is now walked exactly once into a basename-keyed hash index; each lookup is a single bucket scan for the suffix match. The walk uses d_type to avoid a stat per entry, falling back to stat only for symlinks and DT_UNKNOWN. Same measurement after the change: 968 getdents64, 7 extra stats, 0.03s service-thread CPU.
main
4 days ago
perf(perf-map-agent): index the git root once instead of walking it per source lookup Every distinct class-relative source path that is not on disk (JDK and dependency classes) triggered a full recursive walk of the git root on the JVM service thread, concurrently with the running benchmark. With ~130 distinct misses on a ~6500-file tree this was ~130k getdents64 and ~450k stat calls, and ~1s of service-thread CPU during a ~3.5s run. The git root is now walked exactly once into a basename-keyed hash index; each lookup is a single bucket scan for the suffix match. The walk uses d_type to avoid a stat per entry, falling back to stat only for symlinks and DT_UNKNOWN. Same measurement after the change: 968 getdents64, 7 extra stats, 0.03s service-thread CPU.
cod-3562-investigate-servicethreads-find_file_recursive-frames
4 days ago
fix(uri): make benchmark source file detection language-agnostic Resolve the source path from the class file's SourceFile attribute first, then fall back to searching known source extensions (java, kt, scala, groovy) instead of hardcoding .java. Kotlin and Scala benchmarks now get the correct file_path in their CodSpeed URI.
main
4 days ago
perf(perf-map-agent): index the git root once instead of walking it per source lookup Every distinct class-relative source path that is not on disk (JDK and dependency classes) triggered a full recursive walk of the git root on the JVM service thread, concurrently with the running benchmark. With ~130 distinct misses on a ~6500-file tree this was ~130k getdents64 and ~450k stat calls, and ~1s of service-thread CPU during a ~3.5s run. The git root is now walked exactly once into a basename-keyed hash index; each lookup is a single bucket scan for the suffix match. The walk uses d_type to avoid a stat per entry, falling back to stat only for symlinks and DT_UNKNOWN. Same measurement after the change: 968 getdents64, 7 extra stats, 0.03s service-thread CPU.
cod-3562-investigate-servicethreads-find_file_recursive-frames
4 days ago
fix(uri): make benchmark source file detection language-agnostic Resolve the source path from the class file's SourceFile attribute first, then fall back to searching known source extensions (java, kt, scala, groovy) instead of hardcoding .java. Kotlin and Scala benchmarks now get the correct file_path in their CodSpeed URI.
cod-3563-fix-source-file-detection-in-codspeed-jvm-for-kotlinscala
4 days ago
fixup! fix(uri): make benchmark source file detection language-agnostic Replace handwritten class-file parsing with an ASM source visitor. Keep resource lookup and missing-metadata fallback unchanged, and align Maven and Gradle on ASM 9.9.1 to read modern benchmark class files.
cod-3563-fix-source-file-detection-in-codspeed-jvm-for-kotlinscala
4 days ago
fixup! perf(perf-map-agent): index the git root once instead of walking it per source lookup
cod-3562-investigate-servicethreads-find_file_recursive-frames
4 days ago
Latest Branches
CodSpeed Performance Gauge
-1%
perf(perf-map-agent): index the git root once instead of walking it per source lookup
#17
8 days ago
ce522eb
cod-3562-investigate-servicethreads-find_file_recursive-frames
CodSpeed Performance Gauge
+10%
fix(uri): make benchmark source file detection language-agnostic
#16
8 days ago
51d1287
cod-3563-fix-source-file-detection-in-codspeed-jvm-for-kotlinscala
CodSpeed Performance Gauge
-1%
chore: add support for macos
#15
4 months ago
34e417d
cod-2638-bump-instrument-hooks-in-codspeed-jvm-to-support-macos
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs