Skip to content

Commit 997782a

Browse files
authored
Merge pull request #364 from Shopify/shipit-bench
Add shipit-engine benchmark
2 parents 1b8c61d + 977bcad commit 997782a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1977
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- ruby: ruby
1717
- ruby: head
1818
- ruby: truffleruby
19-
skip: protoboeuf-encode
19+
skip: protoboeuf-encode shipit
2020
if: ${{ github.event_name != 'schedule' || github.repository == 'Shopify/yjit-bench' }}
2121
steps:
2222
- uses: actions/checkout@v3

benchmarks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ liquid-render:
2525
lobsters:
2626
desc: test a wide variety of routes in the Lobste.rs Rails app
2727
category: headline
28+
shipit:
29+
desc: test a wide variety of routes, both HTML and JSON API in the shipit Rails app
30+
category: headline
2831
mail:
2932
desc: mail tests the Mail gem by repeatedly creating an email from a text file and converting it to a string for sending.
3033
category: headline

benchmarks/shipit/.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark any vendored files as having been vendored.
7+
vendor/* linguist-vendored
8+
config/credentials/*.yml.enc diff=rails_credentials
9+
config/credentials.yml.enc diff=rails_credentials

benchmarks/shipit/.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# Temporary files generated by your text editor or operating system
4+
# belong in git's global ignore instead:
5+
# `$XDG_CONFIG_HOME/git/ignore` or `~/.config/git/ignore`
6+
7+
data/
8+
9+
# Ignore bundler config.
10+
/.bundle
11+
12+
# Ignore all environment files.
13+
/.env*
14+
15+
# Ignore all logfiles and tempfiles.
16+
/log/*
17+
/tmp/*
18+
!/log/.keep
19+
!/tmp/.keep
20+
21+
# Ignore pidfiles, but keep the directory.
22+
/tmp/pids/*
23+
!/tmp/pids/
24+
!/tmp/pids/.keep
25+
26+
# Ignore storage (uploaded files in development and any SQLite databases).
27+
/storage/*
28+
!/storage/.keep
29+
/tmp/storage/*
30+
!/tmp/storage/
31+
!/tmp/storage/.keep
32+
33+
/public/assets
34+
35+
# Ignore master key for decrypting credentials and more.
36+
/config/master.key

benchmarks/shipit/Gemfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source "https://rubygems.org"
2+
3+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4+
gem "rails", "~> 8.0.2"
5+
# Use sqlite3 as the database for Active Record
6+
gem "sqlite3", ">= 2.1"
7+
# Use the Puma web server [https://github.com/puma/puma]
8+
gem "puma", ">= 5.0"
9+
10+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
11+
gem "tzinfo-data", platforms: %i[ windows jruby ]
12+
13+
# Reduces boot times through caching; required in config/boot.rb
14+
gem "bootsnap", require: false
15+
gem "shipit-engine", ">= 0.40.0"

0 commit comments

Comments
 (0)