forked from petergoldstein/dalli
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create profile.yml * update profile * Update profile.yml * comment out set * Update profile.yml * try simplest * Update profile.yml * local dalli * Update profile.yml * ok * profile both get and set * improvements on bench and add multi to profiles * raw bench * Update profile.yml
- Loading branch information
Showing
3 changed files
with
104 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Profiles | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Memcached 1.6.23 | ||
working-directory: scripts | ||
env: | ||
MEMCACHED_VERSION: 1.6.23 | ||
run: | | ||
chmod +x ./install_memcached.sh | ||
./install_memcached.sh | ||
memcached -d | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.4 | ||
bundler-cache: true # 'bundle install' and cache | ||
- name: Run Profiles | ||
run: RUBY_YJIT_ENABLE=1 BENCH_TARGET=all bundle exec bin/profile | ||
- name: Upload profile results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: profile-results | ||
path: | | ||
client_get_profile.json | ||
socket_get_profile.json | ||
client_set_profile.json | ||
socket_set_profile.json | ||
client_get_multi_profile.json | ||
socket_get_multi_profile.json | ||
client_set_multi_profile.json | ||
socket_set_multi_profile.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters