blob: 822a5b94f4b00ba372ad99ac587d96c91996a89f [file] [log] [blame]
# Copyright 2025 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.
import time
from base import Benchmark
class SampleBenchmark2(Benchmark):
"""A second sample benchmark that sleeps for a short time."""
def __init__(self) -> None:
super().__init__(
name="sample2",
description="A second sample benchmark that sleeps.",
)
def run(self) -> None:
"""Runs the benchmark."""
time.sleep(0.1)