Skip to content

Instantly share code, notes, and snippets.

@Parth-Vader
Created July 11, 2017 16:56
Show Gist options
  • Save Parth-Vader/bdd74d2e650d66eb0cc72e45c0f65d09 to your computer and use it in GitHub Desktop.
Save Parth-Vader/bdd74d2e650d66eb0cc72e45c0f65d09 to your computer and use it in GitHub Desktop.
Cron-job for running the benchmark
# To be placed inside scrapy folder
git fetch;
if git status | grep -q "Your branch is behind 'origin/master'"; then
git merge;
cd ../scrapy-bench; # Change folder scrapy-bench
tox -- bookworm;
tox -- xpathbench;
tox -- linkextractor;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment