Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(proto): convert int32's into DoubleValue in proto #6332

Merged
merged 4 commits into from
Oct 18, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proto/lighthouse-result.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ message LighthouseResult {
string host_user_agent = 2;

// The benchmark index that indicates rough device class
int32 benchmark_index = 3;
exterkamp marked this conversation as resolved.
Show resolved Hide resolved
double benchmark_index = 3;
}

// The environment that the audit was run in
Expand Down
2 changes: 1 addition & 1 deletion proto/sample_v2_round_trip.json
Original file line number Diff line number Diff line change
Expand Up @@ -3262,7 +3262,7 @@
"throttlingMethod": "devtools"
},
"environment": {
"benchmarkIndex": 1000,
"benchmarkIndex": 1000.0,
exterkamp marked this conversation as resolved.
Show resolved Hide resolved
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3358.0 Safari/537.36",
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/66.0.3359.30 Mobile Safari/537.36"
},
Expand Down