Skip to content

Commit 68aded8

Browse files
dmitriplotnikovcopybara-github
authored andcommitted
[Pratt Parser] Add benchmark to track optimizaitons
PiperOrigin-RevId: 953047231
1 parent 781ecf1 commit 68aded8

2 files changed

Lines changed: 462 additions & 0 deletions

File tree

parser/internal/BUILD

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,20 @@ cc_test(
160160
"@com_google_absl//absl/strings:string_view",
161161
],
162162
)
163+
164+
cc_test(
165+
name = "pratt_parser_benchmark",
166+
srcs = ["pratt_parser_benchmark.cc"],
167+
tags = ["benchmark"],
168+
deps = [
169+
":pratt_parser",
170+
"//common:source",
171+
"//internal:benchmark",
172+
"//internal:testing",
173+
"//parser",
174+
"//parser:options",
175+
"//parser:parser_interface",
176+
"@com_google_absl//absl/log:absl_check",
177+
"@com_google_absl//absl/strings",
178+
],
179+
)

0 commit comments

Comments
 (0)