File: script.sh

package info (click to toggle)
python-zxcvbn-rs-py 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 63; makefile: 16; sh: 11
file content (17 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# !/bin/bash

set -e

VENV=venv-bench
LIBRARIES=("zxcvbn" "zxcvbn-rs-py")

rm -rf $VENV
python -m venv $VENV

for LIBRARY in ${LIBRARIES[@]}
do
  ./$VENV/bin/pip install $LIBRARY
done

./$VENV/bin/python benchmark/run.py
gnuplot benchmark/plot.plt