blob: 3584e05054c3a7aa7deaf244fb8bc6c352bd22f4 [file] [log] [blame]
// Copyright 2022 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 regen_fidl_benchmark_suite"
// Table with 1 field with the 1st field set
benchmark("Table/SingleSet/1_of_1") {
bindings_allowlist = [llcpp, hlcpp, cpp, go, walker, 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, walker, 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, walker, 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, walker, 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, walker, 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, walker, reference, dart],
value = Table63Struct{
value: Table63{
field63: 1,
},
},
}