2023-10-13 14:29:54 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
#
|
|
|
|
|
# The OpenSearch Contributors require contributions made to
|
|
|
|
|
# this file be licensed under the Apache-2.0 license or a
|
|
|
|
|
# compatible open source license.
|
2023-10-26 22:55:50 -04:00
|
|
|
#
|
|
|
|
|
# Modifications Copyright OpenSearch Contributors. See
|
|
|
|
|
# GitHub history for details.
|
|
|
|
|
|
2023-10-13 14:29:54 -04:00
|
|
|
|
|
|
|
|
import bench_async
|
|
|
|
|
import bench_sync
|
|
|
|
|
|
|
|
|
|
__benchmarks__ = [(bench_sync.test_32, bench_async.test_8, "sync vs. async (8)")]
|