Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(cli): add json output to coder speedtest#13475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 13 commits intomainfromethan/speedtest-json
Jun 5, 2024

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedJun 5, 2024
edited
Loading

Adds output formatter (--output) to the coder speedtest command that supportsjson, and the defaulttable.
Table formatter also now supports table separators.

$ coder speedtest pog2Starting a 5s download test...INTERVAL       THROUGHPUT           0.00-1.00 sec  1821.5677 Mbits/sec  1.00-2.01 sec  1917.1062 Mbits/sec  2.01-3.05 sec  1618.2648 Mbits/sec  3.05-4.05 sec  1911.1037 Mbits/sec  4.05-5.11 sec  1561.0834 Mbits/sec  ------------------------------------0.00-5.12 sec  1762.7815 Mbits/sec
$ coder speedtest --output='json' pog2Starting a 5s download test...{  "overall": {    "start_time_seconds": 0,    "end_time_seconds": 5.153840548,    "throughput_mbits": 1748.0876461139599  },  "intervals": [    {      "start_time_seconds": 0,      "end_time_seconds": 1.004183525,      "throughput_mbits": 1871.219896781318    },    {      "start_time_seconds": 1.004183525,      "end_time_seconds": 2.006560015,      "throughput_mbits": 1824.380920985088    },    {      "start_time_seconds": 2.006560015,      "end_time_seconds": 3.009975467,      "throughput_mbits": 1605.130489858153    },    {      "start_time_seconds": 3.009975467,      "end_time_seconds": 4.011640821,      "throughput_mbits": 1808.9268244771497    },    {      "start_time_seconds": 4.011640821,      "end_time_seconds": 5.145398001,      "throughput_mbits": 1642.5659822502735    }  ]}

Closes#13437

matifali reacted with thumbs up emoji
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedJun 5, 2024
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@ethanndickson
Copy link
MemberAuthor

I have read the CLA Document and I hereby sign the CLA

cdrcommunity added a commit to coder/cla that referenced this pull requestJun 5, 2024
Copy link
Member

@deansheatherdeansheather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Congrats on first PR 🎉

ethanndickson reacted with hooray emoji
@deansheatherdeansheather self-requested a reviewJune 5, 2024 08:11
@ethanndicksonethanndicksonenabled auto-merge (squash)June 5, 2024 08:11
@ethanndicksonethanndickson merged commita4bba52 intomainJun 5, 2024
28 checks passed
@ethanndicksonethanndickson deleted the ethan/speedtest-json branchJune 5, 2024 08:31
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 5, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add JSON output to speedtest CLI command
2 participants
@ethanndickson@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp