Ivan Boldyrev 5fdc8e68ac
feat(tools): VM-194 performance metering (#440)
* Experimental performance metering
* Average on repeated runs with `--repeat` option
* Add "version" field to the report
The version is got from `air/Cargo.toml`.

* Allow disabling preparing binaries
with the `--no-prepare-binaries` option.

* Human-readable execution time in the report

* Add dashboard benchmark
* Human-readable text report
2023-02-03 23:26:06 +07:00

36 lines
1.1 KiB
Python

#
# Copyright 2023 Fluence Labs Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from setuptools import setup
setup(name='aquavm_performance_metering',
version='0.1',
description='An AquaVM Performance metering tool',
author='Fluence Labs Limited',
license='Apache-2.0',
packages=['performance_metering'],
zip_safe=True,
install_requires=[
# python 3.11 use standard tomllib, but it is not yet available
# everywhere.
'toml',
],
entry_points={
'console_scripts': [
'aquavm_performance_metering=performance_metering.main:main',
],
})