mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
875e2f9d0d
* Add -n and -w arguments * Add Dockerfile that compares perf against master * Add checkperf to .drone.yml * Clone from github instead of .git since CI doesn't have .git
19 lines
542 B
Docker
19 lines
542 B
Docker
# From the ROOT, run:
|
|
# docker build -t simdjsonbench -f benchmark/Dockerfile . && docker run --privileged -t simdjsonbench
|
|
FROM gcc:8.3
|
|
|
|
# # Build latest
|
|
# ENV latest_release=v0.2.1
|
|
# WORKDIR /usr/src/$latest_release/
|
|
# RUN git clone --depth 1 https://github.com/lemire/simdjson/ -b $latest_release .
|
|
# RUN make parse
|
|
|
|
# # Build master
|
|
# WORKDIR /usr/src/master/
|
|
# RUN git clone --depth 1 https://github.com/lemire/simdjson/ .
|
|
# RUN make parse
|
|
|
|
# Build the current source
|
|
COPY . /usr/src/current/
|
|
WORKDIR /usr/src/current/
|
|
RUN make checkperf |