Browse Source

Standardize platform in benchmark_config for erlang/elixir (#7683)

* Standardize platform in benchmark_config for erlang/elixir

* remove redundant config.toml

* fix elli and mochiweb's web server

* Set cowboy to realistic approach

* set elli as realistic approach and micro

* set mochiweb as realistic approach and micro
Chris Garvis 2 years ago
parent
commit
2544df7b0f

+ 3 - 3
frameworks/Elixir/phoenix/benchmark_config.json

@@ -17,13 +17,13 @@
             "language": "Elixir",
             "flavor": "None",
             "orm": "full",
-            "platform": "Cowboy",
-            "webserver": "None",
+            "platform": "beam",
+            "webserver": "cowboy",
             "os": "Linux",
             "database_os": "Linux",
             "display_name": "Phoenix",
             "notes": "",
-            "versus": "Cowboy"
+            "versus": ""
         }
     }]
 }

+ 1 - 1
frameworks/Elixir/plug/benchmark_config.json

@@ -19,7 +19,7 @@
         "language": "Elixir",
         "flavor": "None",
         "orm": "Full",
-        "platform": "BEAM",
+        "platform": "beam",
         "webserver": "cowboy",
         "os": "Linux",
         "database_os": "Linux",

+ 2 - 2
frameworks/Erlang/chicagoboss/benchmark_config.json

@@ -12,8 +12,8 @@
       "language": "Erlang",
       "flavor": "None",
       "orm": "raw",
-      "platform": "Cowboy",
-      "webserver": "None",
+      "platform": "beam",
+      "webserver": "cowboy",
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "ChicagoBoss",

+ 0 - 15
frameworks/Erlang/chicagoboss/config.toml

@@ -1,15 +0,0 @@
-[framework]
-name = "chicagoboss"
-
-[main]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
-approach = "Realistic"
-classification = "Fullstack"
-database = "None"
-database_os = "Linux"
-os = "Linux"
-orm = "raw"
-platform = "Cowboy"
-webserver = "None"
-versus = ""

+ 4 - 4
frameworks/Erlang/cowboy/benchmark_config.json

@@ -7,15 +7,15 @@
       "db_url": "/db",
       "query_url": "/query?queries=",
       "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
+      "approach": "Realistic",
+      "classification": "Micro",
       "database": "MySQL",
       "framework": "None",
       "language": "Erlang",
       "flavor": "None",
       "orm": "Raw",
-      "platform": "None",
-      "webserver": "None",
+      "platform": "beam",
+      "webserver": "cowboy",
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Cowboy",

+ 0 - 17
frameworks/Erlang/cowboy/config.toml

@@ -1,17 +0,0 @@
-[framework]
-name = "cowboy"
-
-[main]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
-urls.db = "/db"
-urls.query = "/query?queries="
-approach = "Stripped"
-classification = "Platform"
-database = "MySQL"
-database_os = "Linux"
-os = "Linux"
-orm = "Raw"
-platform = "None"
-webserver = "None"
-versus = ""

+ 4 - 4
frameworks/Erlang/elli/benchmark_config.json

@@ -6,15 +6,15 @@
       "json_url": "/json",
       "db_url": "/db",
       "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
+      "approach": "Realistic",
+      "classification": "Micro",
       "database": "MySQL",
       "framework": "elli",
       "language": "Erlang",
       "flavor": "None",
       "orm": "Raw",
-      "platform": "None",
-      "webserver": "None",
+      "platform": "beam",
+      "webserver": "elli",
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "elli",

+ 0 - 16
frameworks/Erlang/elli/config.toml

@@ -1,16 +0,0 @@
-[framework]
-name = "elli"
-
-[main]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
-urls.db = "/db"
-approach = "Stripped"
-classification = "Platform"
-database = "MySQL"
-database_os = "Linux"
-os = "Linux"
-orm = "Raw"
-platform = "None"
-webserver = "None"
-versus = ""

+ 5 - 5
frameworks/Erlang/mochiweb/benchmark_config.json

@@ -8,15 +8,15 @@
       "query_url": "/queries?queries=",
       "fortune_url": "/fortunes",
       "port": 8080,
-      "approach": "Stripped",
-      "classification": "Platform",
+      "approach": "Realistic",
+      "classification": "Micro",
       "database": "MySQL",
-      "framework": "Mochiweb",
+      "framework": "mochiweb",
       "language": "Erlang",
       "flavor": "None",
       "orm": "Raw",
-      "platform": "None",
-      "webserver": "None",
+      "platform": "beam",
+      "webserver": "mochiweb",
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "mochiweb",

+ 0 - 18
frameworks/Erlang/mochiweb/config.toml

@@ -1,18 +0,0 @@
-[framework]
-name = "mochiweb"
-
-[main]
-urls.plaintext = "/plaintext"
-urls.json = "/json"
-urls.db = "/db"
-urls.query = "/queries?queries="
-urls.fortune = "/fortunes"
-approach = "Stripped"
-classification = "Platform"
-database = "MySQL"
-database_os = "Linux"
-os = "Linux"
-orm = "Raw"
-platform = "None"
-webserver = "None"
-versus = ""