blob: 02a81e80ceb3a21e0d8b282476f98f20169d4648 [file] [log] [blame]
// Copyright 2024 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.
// GENERATED FILE: Regen with "fx build host-tools/regen_fidl_benchmark_suite && fx regen_fidl_benchmark_suite && fx format-code"
// Table with 1 field with the 1st field set
benchmark("Table/SingleSet/1_of_1") {
bindings_allowlist = [llcpp, hlcpp, cpp, go, reference, dart],
value = Table1Struct{
value: Table1{
field1: 1,
},
},
}
// Table with 16 fields with the 1st field set
benchmark("Table/SingleSet/1_of_16") {
bindings_allowlist = [llcpp, hlcpp, cpp, go, reference, dart],
value = Table16Struct{
value: Table16{
field1: 1,
},
},
}
// Table with 63 fields with the 1st field set
benchmark("Table/SingleSet/1_of_63") {
bindings_allowlist = [llcpp, hlcpp, cpp, rust, go, reference, dart],
value = Table63Struct{
value: Table63{
field1: 1,
},
},
}
// Table with 16 fields with the 16th field set
benchmark("Table/SingleSet/16_of_16") {
bindings_allowlist = [llcpp, hlcpp, cpp, go, reference, dart],
value = Table16Struct{
value: Table16{
field16: 1,
},
},
}
// Table with 63 fields with the 16th field set
benchmark("Table/SingleSet/16_of_63") {
bindings_allowlist = [llcpp, hlcpp, cpp, rust, go, reference, dart],
value = Table63Struct{
value: Table63{
field16: 1,
},
},
}
// Table with 63 fields with the 64th field set
benchmark("Table/SingleSet/63_of_63") {
bindings_allowlist = [llcpp, hlcpp, cpp, rust, go, reference, dart],
value = Table63Struct{
value: Table63{
field63: 1,
},
},
}