bcfef113c4
* Added samples for nox format. Signed-off-by: dblock <dblock@amazon.com> * Added space after #!/usr/bin/env python. Signed-off-by: dblock <dblock@amazon.com> * Added benchmarks and docs. Signed-off-by: dblock <dblock@amazon.com> --------- Signed-off-by: dblock <dblock@amazon.com>
18 lines
448 B
Python
18 lines
448 B
Python
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
# 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.
|
|
#
|
|
# Modifications Copyright OpenSearch Contributors. See
|
|
# GitHub history for details.
|
|
|
|
|
|
import bench_async
|
|
import bench_sync
|
|
|
|
__benchmarks__ = [(bench_sync.test_32, bench_async.test_8, "sync vs. async (8)")]
|