2024-02-05 11:48:07 -08:00
|
|
|
/*
|
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-02-05 11:48:07 -08:00
|
|
|
#include <chrono>
|
2024-02-05 11:48:07 -08:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace facebook::yoga {
|
|
|
|
|
2024-02-05 11:48:07 -08:00
|
|
|
struct BenchmarkResult {
|
|
|
|
std::chrono::steady_clock::duration treeCreationDuration;
|
|
|
|
std::chrono::steady_clock::duration layoutDuration;
|
|
|
|
};
|
2024-02-05 11:48:07 -08:00
|
|
|
|
|
|
|
} // namespace facebook::yoga
|