File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ This is the go portion of a [benchmarking test suite](https://www.techempower.co
7
7
## Test URLs
8
8
* http://localhost:8080/json
9
9
* http://localhost:8080/db
10
- * http://localhost:8080/queries?queries=[1-500 ]
11
- * http://localhost:8080/cached-worlds?count=[1-500 ]
10
+ * http://localhost:8080/queries?n=[1-500 ]
11
+ * http://localhost:8080/update?n=[1-500 ]
12
+ * http://localhost:8080/cached-worlds?n=[1-500 ]
12
13
* http://localhost:8080/fortune
13
- * http://localhost:8080/update?queries=[1-500 ]
14
14
* http://localhost:8080/plaintext
Original file line number Diff line number Diff line change 8
8
"query_url" : " /queries?n=" ,
9
9
"update_url" : " /update?n=" ,
10
10
"cached_query_url" : " /cached-worlds?n=" ,
11
- "fortune_url" : " /fortunes " ,
11
+ "fortune_url" : " /fortune " ,
12
12
"plaintext_url" : " /plaintext" ,
13
13
"port" : 8080 ,
14
14
"approach" : " Realistic" ,
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ name = "indigo"
5
5
urls.json = " /json"
6
6
urls.db = " /db"
7
7
urls.query = " /queries?n="
8
- urls.update = " /updates ?n="
8
+ urls.update = " /update ?n="
9
9
urls.cached_query = " /cached-worlds?q="
10
- urls.fortune = " /fortunes "
10
+ urls.fortune = " /fortune "
11
11
urls.plaintext = " /plaintext"
12
12
approach = " Realistic"
13
13
classification = " Platform"
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ func main() {
36
36
router .Resource ("/json" ).Get (app .HandleJSON )
37
37
router .Resource ("/db" ).Get (app .HandleDB )
38
38
router .Resource ("/queries" ).Get (app .HandleQueries )
39
- router .Resource ("/cached-worlds" ).Get (app .HandleCachedWorlds )
40
- router .Resource ("/fortunes" ).Get (app .HandleFortunes )
41
39
router .Resource ("/update" ).Get (app .HandleUpdate )
40
+ router .Resource ("/cached-worlds" ).Get (app .HandleCachedWorlds )
41
+ router .Resource ("/fortune" ).Get (app .HandleFortunes )
42
42
router .Resource ("/plaintext" ).Get (app .HandlePlaintext )
43
43
44
44
err = indigo .New (":8080" ).Serve (router )
You can’t perform that action at this time.
0 commit comments