Browse Source

[ruby/roda-sequel] Remove some test variations (#9362)

Don't run every permutation as there isn't a lot of variation.
Limit to running:
- Puma with MySQL (the default)
- Puma with Postgres
- Unicorn with Postgres
- Passenger with Postgres

This remove the following variations which were slower that their
Postgres alternative:
- Unicorn with MySQL
- Passenger with MySQL
Petrik de Heus 9 months ago
parent
commit
157bbff378

+ 0 - 44
frameworks/Ruby/roda-sequel/benchmark_config.json

@@ -44,28 +44,6 @@
         "versus": "rack-sequel-postgres-puma-mri",
         "versus": "rack-sequel-postgres-puma-mri",
         "notes": ""
         "notes": ""
       },
       },
-      "passenger-mri": {
-        "json_url": "/json",
-        "db_url": "/db",
-        "query_url": "/queries?queries=",
-        "fortune_url": "/fortunes",
-        "update_url": "/updates?queries=",
-        "plaintext_url": "/plaintext",
-        "port": 8080,
-        "approach": "Realistic",
-        "classification": "Micro",
-        "database": "MySQL",
-        "framework": "roda-sequel",
-        "language": "Ruby",
-        "orm": "Full",
-        "platform": "Rack",
-        "webserver": "Passenger",
-        "os": "Linux",
-        "database_os": "Linux",
-        "display_name": "roda-sequel-passenger-mri",
-        "versus": "rack-sequel-passenger-mri",
-        "notes": ""
-      },
       "postgres-passenger-mri": {
       "postgres-passenger-mri": {
         "db_url": "/db",
         "db_url": "/db",
         "query_url": "/queries?queries=",
         "query_url": "/queries?queries=",
@@ -86,28 +64,6 @@
         "versus": "rack-sequel-postgres-passenger-mri",
         "versus": "rack-sequel-postgres-passenger-mri",
         "notes": ""
         "notes": ""
       },
       },
-      "unicorn-mri": {
-        "json_url": "/json",
-        "db_url": "/db",
-        "query_url": "/queries?queries=",
-        "fortune_url": "/fortunes",
-        "update_url": "/updates?queries=",
-        "plaintext_url": "/plaintext",
-        "port": 8080,
-        "approach": "Realistic",
-        "classification": "Micro",
-        "database": "MySQL",
-        "framework": "roda-sequel",
-        "language": "Ruby",
-        "orm": "Full",
-        "platform": "Rack",
-        "webserver": "Unicorn",
-        "os": "Linux",
-        "database_os": "Linux",
-        "display_name": "roda-sequel-unicorn-mri",
-        "versus": "rack-sequel-unicorn-mri",
-        "notes": ""
-      },
       "postgres-unicorn-mri": {
       "postgres-unicorn-mri": {
         "db_url": "/db",
         "db_url": "/db",
         "query_url": "/queries?queries=",
         "query_url": "/queries?queries=",

+ 0 - 27
frameworks/Ruby/roda-sequel/roda-sequel-passenger-mri.dockerfile

@@ -1,27 +0,0 @@
-FROM ruby:3.3
-
-ADD ./ /roda-sequel
-WORKDIR /roda-sequel
-
-ENV RUBY_YJIT_ENABLE=1
-
-# Use Jemalloc
-RUN apt-get update && \
-    apt-get install -y --no-install-recommends libjemalloc2
-ENV LD_PRELOAD=libjemalloc.so.2
-
-ENV BUNDLE_FORCE_RUBY_PLATFORM=true
-RUN bundle install --jobs=8
-
-# TODO: https://github.com/phusion/passenger/issues/1916
-ENV _PASSENGER_FORCE_HTTP_SESSION=true
-ENV DBTYPE=mysql
-
-RUN ruby -r /roda-sequel/config/auto_tune -e 'puts auto_tune.first' > instances
-
-EXPOSE 8080
-
-CMD bundle exec passenger start --log-level 1 \
-       --engine builtin --disable-turbocaching --disable-security-update-check \
-       --spawn-method direct --max-pool-size $(cat instances) --min-instances $(cat instances) --max-request-queue-size 1024 \
-       --address 0.0.0.0 --port 8080 --environment production

+ 0 - 20
frameworks/Ruby/roda-sequel/roda-sequel-unicorn-mri.dockerfile

@@ -1,20 +0,0 @@
-FROM ruby:3.4-rc
-
-ADD ./ /roda-sequel
-WORKDIR /roda-sequel
-
-ENV RUBY_YJIT_ENABLE=1
-
-# Use Jemalloc
-RUN apt-get update && \
-    apt-get install -y --no-install-recommends libjemalloc2
-ENV LD_PRELOAD=libjemalloc.so.2
-
-ENV BUNDLE_FORCE_RUBY_PLATFORM=true
-RUN bundle install --jobs=8
-
-ENV DBTYPE=mysql
-
-EXPOSE 8080
-
-CMD bundle exec unicorn -c config/mri_unicorn.rb -o 0.0.0.0 -p 8080 -E production