// 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. | |
benchmark("EmptyStruct") { | |
value = EmptyStruct{}, | |
} | |
benchmark("MessageHeader") { | |
value = MessageHeader{ | |
txid: 1, | |
flags: [1, 2, 3], | |
magic_number: 0xff, | |
ordinal: 1, | |
}, | |
} |