-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update irrd used in benchmark to latest version * Only benchmark irrd parser, avoid matching object type and validating attribute data * Update benchmark results * Add vega graph and spec to benchmark * Update README to reflect updated benchmarks
- Loading branch information
Showing
6 changed files
with
212 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
{ | ||
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | ||
"data": { | ||
"values": [ | ||
{ | ||
"parser": "rpsl-parser", | ||
"time": 0.44461, | ||
"timeFormat": "444µs" | ||
}, | ||
{ | ||
"parser": "RPSL::Parser", | ||
"time": 61.8, | ||
"timeFormat": "61.8ms" | ||
}, | ||
{ | ||
"parser": "RIPE-NCC/whois", | ||
"time": 114.7, | ||
"timeFormat": "> 100ms" | ||
}, | ||
{ | ||
"parser": "irrdnet/irrd", | ||
"time": 114.8, | ||
"timeFormat": "> 100ms" | ||
} | ||
] | ||
}, | ||
"config": { | ||
"params": [ | ||
{ | ||
"name": "defaultFont", | ||
"value": "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"" | ||
}, | ||
{ | ||
"name": "titleColor", | ||
"value": "#333333" | ||
}, | ||
{ | ||
"name": "labelColor", | ||
"value": "#333333" | ||
} | ||
], | ||
"header": { | ||
"labelFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"titleFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"titleFontWeight": 500 | ||
}, | ||
"text": { | ||
"font": { | ||
"expr": "defaultFont" | ||
}, | ||
"color": { | ||
"expr": "labelColor" | ||
} | ||
}, | ||
"mark": { | ||
"font": { | ||
"expr": "defaultFont" | ||
}, | ||
"color": { | ||
"expr": "labelColor" | ||
} | ||
}, | ||
"title": { | ||
"font": { | ||
"expr": "defaultFont" | ||
}, | ||
"subtitleFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"fontWeight": 500 | ||
}, | ||
"axis": { | ||
"labelColor": { | ||
"expr": "labelColor" | ||
}, | ||
"labelFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"titleFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"titleFontWeight": 500, | ||
"titleColor": { | ||
"expr": "titleColor" | ||
}, | ||
"titleFontSize": 12 | ||
}, | ||
"legend": { | ||
"titleFontWeight": 500, | ||
"titleColor": { | ||
"expr": "titleColor" | ||
}, | ||
"titleFontSize": 12, | ||
"labelColor": { | ||
"expr": "labelColor" | ||
}, | ||
"labelFont": { | ||
"expr": "defaultFont" | ||
}, | ||
"titleFont": { | ||
"expr": "defaultFont" | ||
} | ||
}, | ||
"view": { | ||
"stroke": null | ||
}, | ||
"background": "transparent" | ||
}, | ||
"background": "transparent", | ||
"encoding": { | ||
"y": { | ||
"field": "parser", | ||
"type": "nominal", | ||
"axis": { | ||
"grid": false, | ||
"title": null, | ||
"labelFontSize": 12, | ||
"ticks": false, | ||
"labelPadding": 10, | ||
"domain": false | ||
}, | ||
"sort": null | ||
}, | ||
"x": { | ||
"field": "time", | ||
"type": "quantitative", | ||
"axis": { | ||
"title": null, | ||
"labelExpr": "datum.value + 'ms'", | ||
"tickCount": 3, | ||
"tickSize": 0, | ||
"labelPadding": 6, | ||
"labelAlign": "center", | ||
"labelFontSize": 12, | ||
"tickColor": "rgba(127,127,127,0.25)", | ||
"gridColor": "rgba(127,127,127,0.25)", | ||
"domain": false | ||
} | ||
} | ||
}, | ||
"height": 140, | ||
"width": "container", | ||
"layer": [ | ||
{ | ||
"mark": "bar", | ||
"encoding": { | ||
"size": { | ||
"value": 13 | ||
}, | ||
"color": { | ||
"value": "#E15759" | ||
} | ||
} | ||
}, | ||
{ | ||
"transform": [ | ||
{ | ||
"filter": "datum.parser !== 'rpsl-parser'" | ||
} | ||
], | ||
"mark": { | ||
"type": "text", | ||
"align": "left", | ||
"baseline": "middle", | ||
"dx": 6, | ||
"fontSize": 12 | ||
}, | ||
"encoding": { | ||
"text": { | ||
"field": "timeFormat" | ||
} | ||
} | ||
}, | ||
{ | ||
"transform": [ | ||
{ | ||
"filter": "datum.parser === 'rpsl-parser'" | ||
} | ||
], | ||
"mark": { | ||
"type": "text", | ||
"align": "left", | ||
"baseline": "middle", | ||
"dx": 6, | ||
"fontSize": 12, | ||
"fontWeight": "bold" | ||
}, | ||
"encoding": { | ||
"text": { | ||
"field": "timeFormat" | ||
} | ||
} | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
irrd==4.3.0.post1 | ||
irrd==4.4.2 |