-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Include round id in retreival task id * Add time to first byte public stat * Remove unused variable * Make names more generic * Fix typo * Ignore on conflict * Update lib/public-stats.js Co-authored-by: Julian Gruber <[email protected]> * Update lib/public-stats.js Co-authored-by: Julian Gruber <[email protected]> * Fix typo in public-stats.js Co-authored-by: Miroslav Bajtoš <[email protected]> * Rename table retrieval_times to retrieval_timings * Fix typo Co-authored-by: Miroslav Bajtoš <[email protected]> * Aggregate retrieval timing values to array * Fix typo in tests * Change migration number * Remove unused values from test data * Expand test with update case * Remove asserts for backwards compatibility * Ciel ttfb p50 value * Add follow-up issue for asserting reported ttfb values * Update test/public-stats.test.js Co-authored-by: Miroslav Bajtoš <[email protected]> * Update test/public-stats.test.js Co-authored-by: Miroslav Bajtoš <[email protected]> * Update test/public-stats.test.js Co-authored-by: Miroslav Bajtoš <[email protected]> * Check if start value is bigger than time to first byte * Check if ttfb measurment is NaN * Add ttfb calculation edgecase tests * Remove ts-ignore --------- Co-authored-by: Julian Gruber <[email protected]> Co-authored-by: Miroslav Bajtoš <[email protected]>
- Loading branch information
1 parent
9f3af99
commit d236813
Showing
3 changed files
with
128 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CREATE TABLE retrieval_timings ( | ||
day DATE NOT NULL, | ||
miner_id TEXT NOT NULL, | ||
ttfb_p50 INT[] NOT NULL, | ||
PRIMARY KEY (day, miner_id) | ||
); |
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