mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #953] [MERGED] Add parser benchmarks #824
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/953
Author: @bioball
Created: 2/13/2025
Status: ✅ Merged
Merged: 2/13/2025
Merged by: @bioball
Base:
main← Head:add-parser-benchmarks📝 Commits (2)
cf41a5fChange parser benchmarks to parse stdlib and snippet testsebcb227Update bench/src/jmh/java/org/pkl/core/parser/ParserBenchmark.java📊 Changes
4 files changed (+53 additions, -49 deletions)
View changed files
📝
bench/bench.gradle.kts(+1 -1)📝
bench/gradle.lockfile(+14 -14)📝
bench/src/jmh/java/org/pkl/core/parser/ParserBenchmark.java(+34 -31)📝
pkl-commons-test/src/main/kotlin/org/pkl/commons/test/FileTestUtils.kt(+4 -3)📄 Description
The current benchmark is not too useful now that we have a linear parser.
This changes the benchmarks to parse the standard library, and also the language snippet tests.
Sample output:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.