Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate gRPC and HTTP JSON benchmarks into a single activity, now cal…
…led RpcBenchmarksActivity. Started writeup
- Loading branch information
david-cao
committed
Jul 14, 2016
1 parent
87d2bda
commit ed31969
Showing
18 changed files
with
654 additions
and
118 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | ||
<script> | ||
google.charts.load('current', { | ||
'packages': ['corechart'] | ||
}); | ||
google.charts.setOnLoadCallback(drawChart); | ||
|
||
function drawChart() { | ||
var data = google.visualization.arrayToDataTable([ | ||
['Mbps', 'Message Size in bytes'], | ||
[2.616953255, 25], | ||
[4.277304791, 565], | ||
[4.872934462, 700], | ||
[5.925880617, 40996], | ||
[6.273317282, 138086] | ||
]); | ||
|
||
var options = { | ||
title: 'Results of Serializing to CodedOutputStream', | ||
hAxis: { | ||
title: 'Mbps', | ||
minValue: 0, | ||
maxValue: 5 | ||
}, | ||
vAxis: { | ||
title: 'Message Size in bytes', | ||
minValue: 0, | ||
maxValue: 160000 | ||
}, | ||
legend: 'none' | ||
}; | ||
|
||
var chart = new google.visualization.ScatterChart(document.getElementById('chart_div')); | ||
|
||
chart.draw(data, options); | ||
} | ||
|
||
</script> | ||
<div id="chart_div" style="width: 900px; height: 500px;"></div> |
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
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
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
Oops, something went wrong.