-
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.
All sources with stringformat BUILDs defined (except jmh)
- Loading branch information
Showing
235 changed files
with
148,654 additions
and
0 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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Dmitry Komanov | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,203 @@ | ||
|
||
git_repository( | ||
name = "io_bazel", | ||
remote = "git://github.com/bazelbuild/bazel.git", | ||
tag = "0.4.3", | ||
) | ||
git_repository( | ||
name = "io_bazel_rules_scala", | ||
remote = "https://github.com/bazelbuild/rules_scala.git", | ||
commit = "4f3fc159d64711f2b28d18b507cfe25c3348e4d5", | ||
) | ||
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories") | ||
scala_repositories() | ||
|
||
maven_jar( | ||
name = "org_slf4j_slf4j_api", | ||
artifact = "org.slf4j:slf4j-api:1.7.21", | ||
) | ||
|
||
# GENERATED: | ||
|
||
# The following dependencies were calculated from: | ||
# org.specs2:specs2-junit_2.11:3.8.6 | ||
# org.specs2:specs2-matcher-extra_2.11:3.8.6 | ||
# org.specs2:specs2-mock_2.11:3.8.6 | ||
|
||
|
||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_specs2_codata_2_11", | ||
artifact = "org.specs2:specs2-codata_2.11:3.8.6", | ||
sha1 = "703e69d2dc3442c5fe5b3ae6aa608325c3b68b28", | ||
) | ||
|
||
# org.scalaz:scalaz-concurrent_2.11:bundle:7.2.7 | ||
# org.scalaz:scalaz-effect_2.11:bundle:7.2.7 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
# org.specs2:specs2-codata_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scalaz_scalaz_core_2_11", | ||
artifact = "org.scalaz:scalaz-core_2.11:7.2.7", | ||
sha1 = "ebf85118d0bf4ce18acebf1d8475ee7deb7f19f1", | ||
) | ||
|
||
# org.specs2:specs2-junit_2.11:jar:3.8.6 | ||
# org.specs2:specs2-analysis_2.11:jar:3.8.6 | ||
# org.specs2:specs2-mock_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_specs2_core_2_11", | ||
artifact = "org.specs2:specs2-core_2.11:3.8.6", | ||
sha1 = "613fe28019e0f3d74f5b1a7716548aea72ef4e42", | ||
) | ||
|
||
# org.scala-lang:scala-compiler:jar:2.11.8 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
# org.specs2:specs2-core_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scala_lang_scala_reflect", | ||
artifact = "org.scala-lang:scala-reflect:2.11.8", | ||
sha1 = "b74530deeba742ab4f3134de0c2da0edc49ca361", | ||
) | ||
|
||
# org.specs2:specs2-mock_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_mockito_mockito_core", | ||
artifact = "org.mockito:mockito-core:1.9.5", | ||
sha1 = "c3264abeea62c4d2f367e21484fbb40c7e256393", | ||
) | ||
|
||
# org.specs2:specs2-matcher-extra_2.11:jar:3.8.6 | ||
# org.specs2:specs2-analysis_2.11:jar:3.8.6 | ||
# org.specs2:specs2-core_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_specs2_matcher_2_11", | ||
artifact = "org.specs2:specs2-matcher_2.11:3.8.6", | ||
sha1 = "27d3ef586cb106e0cedabb1a9aca04ac5b49f269", | ||
) | ||
|
||
# org.mockito:mockito-core:jar:1.9.5 wanted version 1.1 | ||
# org.specs2:specs2-mock_2.11:jar:3.8.6 | ||
# junit:junit:jar:4.12 | ||
maven_jar( | ||
name = "org_hamcrest_hamcrest_core", | ||
artifact = "org.hamcrest:hamcrest-core:1.3", | ||
sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0", | ||
) | ||
|
||
# org.specs2:specs2-matcher_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_specs2_common_2_11", | ||
artifact = "org.specs2:specs2-common_2.11:3.8.6", | ||
sha1 = "621e49e6281dc3f4080abbd63cad30887a8c5248", | ||
) | ||
|
||
maven_jar( | ||
name = "org_specs2_specs2_matcher_extra_2_11", | ||
artifact = "org.specs2:specs2-matcher-extra_2.11:3.8.6", | ||
) | ||
|
||
# org.scalaz:scalaz-concurrent_2.11:bundle:7.2.7 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
# org.specs2:specs2-codata_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scalaz_scalaz_effect_2_11", | ||
artifact = "org.scalaz:scalaz-effect_2.11:7.2.7", | ||
sha1 = "824bbb83da12224b3537c354c51eb3da72c435b5", | ||
) | ||
|
||
# org.specs2:specs2-analysis_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scala_lang_scala_compiler", | ||
artifact = "org.scala-lang:scala-compiler:2.11.8", | ||
sha1 = "fe1285c9f7b58954c5ef6d80b59063569c065e9a", | ||
) | ||
|
||
# org.scala-lang:scala-compiler:jar:2.11.8 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scala_lang_modules_scala_parser_combinators_2_11", | ||
artifact = "org.scala-lang.modules:scala-parser-combinators_2.11:1.0.4", | ||
sha1 = "7369d653bcfa95d321994660477a4d7e81d7f490", | ||
) | ||
|
||
maven_jar( | ||
name = "org_specs2_specs2_junit_2_11", | ||
artifact = "org.specs2:specs2-junit_2.11:3.8.6", | ||
) | ||
|
||
# org.scala-lang:scala-compiler:jar:2.11.8 wanted version 1.0.4 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scala_lang_modules_scala_xml_2_11", | ||
artifact = "org.scala-lang.modules:scala-xml_2.11:1.0.5", | ||
sha1 = "77ac9be4033768cf03cc04fbd1fc5e5711de2459", | ||
) | ||
|
||
# org.specs2:specs2-matcher-extra_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_specs2_analysis_2_11", | ||
artifact = "org.specs2:specs2-analysis_2.11:3.8.6", | ||
sha1 = "9a9ce5233031f71044a5d29815358c467f34ec62", | ||
) | ||
|
||
# org.specs2:specs2-matcher_2.11:jar:3.8.6 | ||
# org.scalaz:scalaz-core_2.11:bundle:7.2.7 | ||
# org.specs2:specs2-junit_2.11:jar:3.8.6 | ||
# org.scalaz:scalaz-concurrent_2.11:bundle:7.2.7 | ||
# org.specs2:specs2-codata_2.11:jar:3.8.6 | ||
# org.scala-lang.modules:scala-parser-combinators_2.11:bundle:1.0.4 wanted version 2.11.6 | ||
# org.scala-lang.modules:scala-xml_2.11:bundle:1.0.5 wanted version 2.11.7 | ||
# org.specs2:specs2-matcher-extra_2.11:jar:3.8.6 | ||
# org.specs2:specs2-analysis_2.11:jar:3.8.6 | ||
# org.specs2:specs2-mock_2.11:jar:3.8.6 | ||
# org.scala-lang:scala-compiler:jar:2.11.8 | ||
# org.scala-lang:scala-reflect:jar:2.11.8 | ||
# org.scalaz:scalaz-effect_2.11:bundle:7.2.7 | ||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
# org.specs2:specs2-core_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scala_lang_scala_library", | ||
artifact = "org.scala-lang:scala-library:2.11.8", | ||
sha1 = "ddd5a8bced249bedd86fb4578a39b9fb71480573", | ||
) | ||
|
||
# org.specs2:specs2-common_2.11:jar:3.8.6 | ||
# org.specs2:specs2-codata_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_scalaz_scalaz_concurrent_2_11", | ||
artifact = "org.scalaz:scalaz-concurrent_2.11:7.2.7", | ||
sha1 = "abaea3aa04f11301f63099d96cf47f91ec229ed4", | ||
) | ||
|
||
# org.mockito:mockito-core:jar:1.9.5 | ||
maven_jar( | ||
name = "org_objenesis_objenesis", | ||
artifact = "org.objenesis:objenesis:1.0", | ||
sha1 = "9b473564e792c2bdf1449da1f0b1b5bff9805704", | ||
) | ||
|
||
maven_jar( | ||
name = "org_specs2_specs2_mock_2_11", | ||
artifact = "org.specs2:specs2-mock_2.11:3.8.6", | ||
) | ||
|
||
# org.specs2:specs2-junit_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "junit_junit", | ||
artifact = "junit:junit:4.12", | ||
sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec", | ||
) | ||
|
||
# org.specs2:specs2-analysis_2.11:jar:3.8.6 | ||
maven_jar( | ||
name = "org_specs2_classycle", | ||
artifact = "org.specs2:classycle:1.4.3", | ||
sha1 = "b486667aa8d84be2ebd94f76bce402e39c215bc7", | ||
) | ||
|
||
# org.openjdk.jmh:jmh-core:1.16 | ||
maven_jar( | ||
name = "org_openjdk_jmh_jmh_core", | ||
artifact = "org.openjdk.jmh:jmh-core:1.16", | ||
) |
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,7 @@ | ||
body { | ||
padding-top: 70px; | ||
} | ||
|
||
.ssa-chart { | ||
height: 600px; | ||
} |
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,112 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
|
||
<title>The Cost of a Streaming Data from MySQL by Dmitry Komanov</title> | ||
|
||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="css/main.css"> | ||
</head> | ||
<body> | ||
|
||
<nav class="navbar navbar-default navbar-fixed-top"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="">MySQL Streaming</a> | ||
</div> | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li class="active"><a href="">Actual charts</a></li> | ||
<!--<li><a href="https://medium.com/@dkomanov/scala-serialization-419d175c888a">Original article on Medium</a></li>--> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="https://github.com/dkomanov/mysql-streaming">Project on GitHub</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class="container-fluid"> | ||
|
||
<h1>The Cost of a Streaming Data from MySQL</h1> | ||
|
||
<h2>Introduction</h2> | ||
|
||
<p> | ||
The performance tests are performed via <a href="http://openjdk.java.net/projects/code-tools/jmh/">JMH</a>. | ||
The configuration of a hardware is Intel® Core™ i7–5600U CPU @ 2.60GHz × 4 (2 core + 2 HT) with 16 GB RAM. | ||
</p> | ||
|
||
<h2>Charts</h2> | ||
|
||
<p class="btn-toolbar" role="toolbar" aria-label="..."> | ||
<div class="btn-group" role="group" aria-label="configuration"> | ||
<button class="btn disabled">Configuration:</button> | ||
<button class="btn btn-default ssa-configuration-btn" data-configuration="local">local</button> | ||
<button class="btn btn-default ssa-configuration-btn" data-configuration="wifi">bad network (Wi-Fi)</button> | ||
<button class="btn btn-default ssa-configuration-btn" data-configuration="wire">good network (Wire)</button> | ||
<button class="btn btn-default ssa-configuration-btn" data-configuration="strange">strange (Strange)</button> | ||
</div> | ||
</p> | ||
|
||
<p class="btn-toolbar" role="toolbar" aria-label="..."> | ||
<div class="btn-group" role="group" aria-label="p95"> | ||
<button class="btn disabled">Time units:</button> | ||
<button class="btn btn-default ssa-value-btn" data-property="avg">avg</button> | ||
<button class="btn btn-default ssa-value-btn" data-property="p0">p0</button> | ||
<button class="btn btn-default ssa-value-btn" data-property="p50">p50</button> | ||
<button class="btn btn-default ssa-value-btn" data-property="p95">p95</button> | ||
<button class="btn btn-default ssa-value-btn" data-property="p100">p100</button> | ||
</div> | ||
</p> | ||
|
||
<small class="text-muted"> | ||
avg - average, p0 - percentile 0 (min), p50 - percentile 50 (median), p95 - percentile 95, p100 - percentile 100 | ||
(max) | ||
</small> | ||
|
||
<h3> | ||
<a name="below-100"></a> | ||
Limit below 100 | ||
</h3> | ||
|
||
<div class="below-100 ssa-chart"></div> | ||
|
||
<p> | ||
<button class="btn btn-default" type="button" data-toggle="collapse" data-target=".below-100-raw-data">Raw data</button> | ||
</p> | ||
|
||
<div class="below-100-raw-data collapse"></div> | ||
|
||
<h3> | ||
<a name="all-drivers"></a> | ||
Limit above 100 | ||
</h3> | ||
|
||
<div class="all-drivers ssa-chart"></div> | ||
|
||
<p> | ||
<button class="btn btn-default" type="button" data-toggle="collapse" data-target=".all-drivers-raw-data">Raw data</button> | ||
</p> | ||
|
||
<div class="all-drivers-raw-data collapse"></div> | ||
|
||
<p> | ||
| ||
</p> | ||
|
||
<footer> | ||
Powered by <a href="https://pages.github.com/">GitHub Pages</a>. © Dmitry Komanov | ||
</footer> | ||
|
||
</div> | ||
|
||
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | ||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | ||
<script src="//www.gstatic.com/charts/loader.js"></script> | ||
<script src="js/charts.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.