blob: f6a9fa474106d87b65d54087c918f0fa0787bb18 [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/components.gni")
import("//build/testing/perf/test.gni")
executable("bin") {
output_name = "fidlc_microbenchmarks"
testonly = true
sources = [ "main.cc" ]
deps = [
"//tools/fidl/fidlc:lib",
"//zircon/system/ulib/perftest",
]
}
fuchsia_package_with_single_component("fidlc_microbenchmarks") {
testonly = true
deps = [ ":bin" ]
manifest = "meta/fidlc_microbenchmarks.cml"
}
fuchsia_component_perf_test("fidlc_microbenchmarks_test") {
package = ":fidlc_microbenchmarks"
component_name = "fidlc_microbenchmarks"
expected_metric_names_filepath = "//src/tests/end_to_end/perf/expected_metric_names/fuchsia.fidlc_microbenchmarks.txt"
test_component_args = [
"-p",
"--quiet",
]
results_path_test_arg = "--out"
}
group("benchmarks") {
testonly = true
deps = [ ":fidlc_microbenchmarks_test" ]
}