pekko/project
Konrad 'ktoso' Malawski 684c0279ec =act,tes Initial draft of internal MetricsKit
Note: This is NOT aimed to provide an micro-benchmarking solution.
The goal is to provide data for broad trend analysis. For techniques
that fight the inliner and other specialised techniques, refer to JMH.

+ custom console and graphite reporters
  - had to be custom because it's not possible to add custom metric
    types to the existing reporters
+ initial hdr.Histogram histogram() provider, see
  http://latencyutils.github.io/LatencyUtils/
+ Not using timers provided by Metrics, instead use the above histogram
+ Added average Actor size measurement
+ Measuring the "blocking time" when an actor is created, before we fire
  of the async part of this process; Measures in loop and will fluctuate
  a lot. Times are in `us` -- System.nanoTime should provide good enough
  resolution.
+ Measuring total actor creation time by using
  `KnownOpsInTimespanTimer`, which given a known number of ops, in a
  large amount of time, roughtly estimates time per one operation.
  // Yes, we are aware of the possibility of GC pauses and other horrors
+ All classes are `private[akka]`, we should not encourage people to use
  this yet
+ Counters use Java 8's `LongAdder`, which is metric's private;
  The new trend in Java land will be copy paste-ing this class ;)
+ Metrics are logged to Graphite, so we can long-term analyse these
+ Reporters are configurable using typesafe-config

! I'm not very happy about how I work around Metrics not being too open
  for adding additional custom metrics. Seems like a hack at places.
  I will consider removing the Metrics dependency all together.
  numbers

Example output:

```
-- KnownOpsInTimespanTimer-------------------------------------------
  actor-creation.total.creating-100000-actors.Props|new-EmptyArgsActor|…||-same
               ops = 100000
              time = 1.969 s
             ops/s = 50782.22
               avg = 19.69 μs

-- AveragingGauge---------------------------------------------------
  actor-creation.Props|new-EmptyArgsActor|…||-same.avg-mem-per-actor
                avg = 439.67
```
2014-05-08 14:52:39 +02:00
..
scripts =pro Fixed release script Java version check 2014-03-04 11:16:39 +01:00
ActivatorDist.scala +pro #3910 Make the build package all Activator templates 2014-03-19 12:17:26 +01:00
AkkaBuild.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
build.properties =pro #15018 update to sbt 0.13.5-RC1 which has publish fix 2014-05-02 11:04:06 +02:00
Dependencies.scala =act,tes Initial draft of internal MetricsKit 2014-05-08 14:52:39 +02:00
Dist.scala =pro #15031 use sbt-unidoc plugin 2014-04-28 10:12:46 +02:00
Formatting.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
GitHub.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
MultiNode.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
OSGi.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
plugins.sbt =act,tes Initial draft of internal MetricsKit 2014-05-08 14:52:39 +02:00
Protobuf.scala Changes all occurances of Typesafe copyright to extend to 2014. 2014-02-04 21:20:09 -06:00
Publish.scala !pro,sbt #3781 Remove akka-sbt-plugin 2014-01-17 11:09:28 +01:00
Release.scala =pro #15031 use sbt-unidoc plugin 2014-04-28 10:12:46 +02:00
SphinxDoc.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00
TestExtras.scala =act,tes Initial draft of internal MetricsKit 2014-05-08 14:52:39 +02:00
Unidoc.scala =pro #15031 move build logic into separate files 2014-05-07 15:07:05 +02:00