mirror of
https://git.roussel.pro/telecom-paris/pact.git
synced 2026-02-09 10:30:17 +01:00
ajout script benchmark général
This commit is contained in:
5
docs/rapports_pan2/module_hardware/benchmark/Dockerfile
Normal file
5
docs/rapports_pan2/module_hardware/benchmark/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM alpine:latest
|
||||
RUN apk add --no-cache sysbench
|
||||
WORKDIR /app
|
||||
COPY benchmark_script.sh /app/benchmark_script.sh
|
||||
CMD ["sh","benchmark_script.sh"]
|
||||
@@ -0,0 +1,6 @@
|
||||
sysbench --test=cpu run >>sysbench.log
|
||||
sysbench --test=memory run >>sysbench.log
|
||||
sysbench --test=fileio --file-test-mode=rndrw prepare
|
||||
sysbench --test=fileio --file-test-mode=rndrw run
|
||||
|
||||
sysbench --test=fileio cleanup
|
||||
Reference in New Issue
Block a user