Skip to content

Commit

Permalink
v2.1.1 - New benchmarks / NaN bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLoneRonin committed Nov 16, 2020
1 parent 0c0376f commit 99cb9f0
Show file tree
Hide file tree
Showing 19 changed files with 208 additions and 14 deletions.
8 changes: 8 additions & 0 deletions BENCHMARKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ Command Type | Estimated time in MS
balance | 485ms
latest block | 833ms

*Please note that benchmarks are run on devnet. You will get similar performance markers on testnet/mainnet if your bandwidth and network speed have enough Gigabits per second.*

#### Cache Benchmarks

Parallelization | Average Upload Time | Lowest Upload Time | Highest Upload Time
--- | --- | --- | ---
1 | 2769ms | 1961ms | 12013ms
4 | 768ms | 766ms | 863ms
8 | 606ms | 587ms | 660ms
25 | 159ms | 182ms | 197ms
50 | 87ms | 101ms | 108ms
100 | 55ms | 66ms | 70ms

#### Livestream Benchmarks

Expand All @@ -22,6 +27,9 @@ Parallelization | Average Upload Time | Lowest Upload Time | Highest Upload Time
1 | 2495ms | 1955ms | 10809ms
4 | 778ms | 756ms | 862ms
8 | 595ms | 585ms | 652ms
25 | 160ms | 183ms | 243ms
50 | 88ms | 99ms | 113ms
100 | 58ms | 68ms | 76ms


#### Compression Benchmarks
Expand Down
25 changes: 25 additions & 0 deletions benchmarks/benchmark.cache.p100.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"epoch": 1605562503497,
"actions": [
{
"action": "cache_block",
"epoch": 1605562510451
},
{
"action": "cache_block",
"epoch": 1605562517071
},
{
"action": "cache_block",
"epoch": 1605562523940
},
{
"action": "cache_block",
"epoch": 1605562530722
},
{
"action": "cache_block",
"epoch": 1605562537740
}
]
}
29 changes: 29 additions & 0 deletions benchmarks/benchmark.cache.p25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"epoch": 1605562396443,
"actions": [
{
"action": "cache_block",
"epoch": 1605562402153
},
{
"action": "cache_block",
"epoch": 1605562407068
},
{
"action": "cache_block",
"epoch": 1605562411734
},
{
"action": "cache_block",
"epoch": 1605562416594
},
{
"action": "cache_block",
"epoch": 1605562421382
},
{
"action": "cache_block",
"epoch": 1605562425932
}
]
}
29 changes: 29 additions & 0 deletions benchmarks/benchmark.cache.p50.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"epoch": 1605562453878,
"actions": [
{
"action": "cache_block",
"epoch": 1605562458985
},
{
"action": "cache_block",
"epoch": 1605562464405
},
{
"action": "cache_block",
"epoch": 1605562469448
},
{
"action": "cache_block",
"epoch": 1605562474854
},
{
"action": "cache_block",
"epoch": 1605562479979
},
{
"action": "cache_block",
"epoch": 1605562485020
}
]
}
29 changes: 29 additions & 0 deletions benchmarks/benchmark.livestream.p100.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"epoch": 1605562659181,
"actions": [
{
"action": "cache_block",
"epoch": 1605562666457
},
{
"action": "cache_block",
"epoch": 1605562673263
},
{
"action": "cache_block",
"epoch": 1605562680044
},
{
"action": "cache_block",
"epoch": 1605562687044
},
{
"action": "cache_block",
"epoch": 1605562693914
},
{
"action": "cache_block",
"epoch": 1605562701519
}
]
}
25 changes: 25 additions & 0 deletions benchmarks/benchmark.livestream.p25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"epoch": 1605562567483,
"actions": [
{
"action": "cache_block",
"epoch": 1605562572051
},
{
"action": "cache_block",
"epoch": 1605562576818
},
{
"action": "cache_block",
"epoch": 1605562582900
},
{
"action": "cache_block",
"epoch": 1605562587504
},
{
"action": "cache_block",
"epoch": 1605562592079
}
]
}
29 changes: 29 additions & 0 deletions benchmarks/benchmark.livestream.p50.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"epoch": 1605562608994,
"actions": [
{
"action": "cache_block",
"epoch": 1605562614178
},
{
"action": "cache_block",
"epoch": 1605562619181
},
{
"action": "cache_block",
"epoch": 1605562624526
},
{
"action": "cache_block",
"epoch": 1605562629464
},
{
"action": "cache_block",
"epoch": 1605562635113
},
{
"action": "cache_block",
"epoch": 1605562640560
}
]
}
6 changes: 6 additions & 0 deletions dist/src/Benchmarks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/Benchmarks.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/Solarweave.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/src/command/Cache.command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/command/Cache.command.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/src/command/Livestream.command.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99cb9f0

Please sign in to comment.