Skip to content

Commit

Permalink
Rename benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Joannis committed May 11, 2024
1 parent ce72147 commit a9cdf34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Benchmarks/Benchmarks/Router/TrieRouterBenchmarks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Benchmark

func trieRouterBenchmarks() {
var trie: RouterTrie<String>!
Benchmark("RouterTrieRouter", configuration: .init(scalingFactor: .kilo)) { benchmark in
Benchmark("TrieRouter:Routing", configuration: .init(scalingFactor: .kilo)) { benchmark in
let testValues = [
"/test/",
"/test/one",
Expand All @@ -43,7 +43,7 @@ func trieRouterBenchmarks() {
}

var trie2: RouterTrie<String>!
Benchmark("RouterTrieRouterParameters", configuration: .init(scalingFactor: .kilo)) { benchmark in
Benchmark("TrieRouter:Parameters", configuration: .init(scalingFactor: .kilo)) { benchmark in
let testValues = [
"/test/value",
"/test/value1/value2",
Expand All @@ -65,7 +65,7 @@ func trieRouterBenchmarks() {
}

var trie3: RouterTrie<String>!
Benchmark("RouterTrie:LongPaths", configuration: .init(scalingFactor: .kilo)) { benchmark in
Benchmark("TrieRouter:LongPaths", configuration: .init(scalingFactor: .kilo)) { benchmark in
let testValues = [
"/api/v1/users/1/profile",
"/api/v1/a/very/long/path/with/lots/of/segments",
Expand Down

0 comments on commit a9cdf34

Please sign in to comment.