Skip to content

Commit 4d55dc2

Browse files
committed
Parse+Get benchmark: 5 fields instead of 26
1 parent d3b7d70 commit 4d55dc2

1 file changed

Lines changed: 2 additions & 23 deletions

File tree

bench/torque_bench.exs

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -121,30 +121,9 @@ IO.puts("JSON payload size: #{byte_size(sample_json)} bytes\n")
121121
fields = [
122122
"/id",
123123
"/site/domain",
124-
"/site/page",
125-
"/site/ref",
126-
"/site/publisher/id",
127-
"/site/cat",
128-
"/device/devicetype",
129-
"/device/ua",
130124
"/device/ip",
131-
"/device/ipv6",
132-
"/device/ifa",
133-
"/device/os",
134125
"/device/geo/country",
135-
"/device/geo/lat",
136-
"/device/geo/lon",
137-
"/device/geo/region",
138-
"/device/geo/type",
139-
"/device/geo/zip",
140-
"/device/connectiontype",
141-
"/device/carrier",
142-
"/device/language",
143-
"/user/id",
144-
"/user/buyeruid",
145-
"/user/ext/eids",
146-
"/imp",
147-
"/regs/coppa"
126+
"/user/id"
148127
]
149128

150129
# Bid response for encoding benchmark
@@ -220,7 +199,7 @@ Benchee.run(
220199
] ++ ci_formatters
221200
)
222201

223-
BenchGroup.set("Parse+Get — 1.2 KB OpenRTB")
202+
BenchGroup.set("Parse+Get (5 fields) — 1.2 KB OpenRTB")
224203
IO.puts("\n=== PARSE + GET BENCHMARK ===\n")
225204

226205
Benchee.run(

0 commit comments

Comments
 (0)