This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes asv configuration * Fix failing unit tests * update benchmark script
- Loading branch information
Showing
6 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
@echo off | ||
set current=%~dp0 | ||
cd %~dp0.. | ||
echo --MACHINE-- | ||
python -m asv machine --yes --config mlprodict/asv_benchmark/asv.conf.json | ||
echo . | ||
echo --BENCH-- | ||
cd .. | ||
echo --RUN-- | ||
python -m asv run --show-stderr --config mlprodict/asv_benchmark/asv.conf.json | ||
python -m asv run --show-stderr --config mlprodict/asv_benchmark/asv.conf.json --environment existing:same | ||
echo --CLEAN-- | ||
if exist dist/html/asv rmdir dist/html/asv -r -f | ||
rem if exist build/env rmdir build/env -r -f | ||
|
||
echo --PUBLISH-- | ||
python -m asv publish --config mlprodict/asv_benchmark/asv.conf.json -o ../../dist/asv/html || exit 1 | ||
python -m asv publish --config mlprodict/asv_benchmark/asv.conf.json -o ../../dist/asv/html | ||
|
||
echo --END-- | ||
cd %current% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters