| // 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. | |
| // GENERATED FILE: Regen with out/default/host-tools/regen_fidl_benchmark_suite | |
| benchmark("Union/LastSet/1") { | |
| value = Union1Struct{ | |
| u: Union1{ | |
| field1: 1, | |
| }, | |
| }, | |
| } | |
| benchmark("Union/LastSet/16") { | |
| value = Union16Struct{ | |
| u: Union16{ | |
| field16: 1, | |
| }, | |
| }, | |
| } | |
| benchmark("Union/LastSet/256") { | |
| value = Union256Struct{ | |
| u: Union256{ | |
| field256: 1, | |
| }, | |
| }, | |
| } |