Skip to content

Commit

Permalink
Meter registration memory and CPU performance improvements (fixes #971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Schneider committed Oct 26, 2018
1 parent 8a2a086 commit b7bbea3
Show file tree
Hide file tree
Showing 231 changed files with 1,678 additions and 955 deletions.
4 changes: 3 additions & 1 deletion benchmarks/benchmarks-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ dependencies {
compile project(':micrometer-samples-core')

compile 'org.openjdk.jmh:jmh-core:latest.release'
annotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:latest.release'
compile 'io.dropwizard.metrics5:metrics-core:latest.release'

compile 'org.openjdk.jmh:jmh-generator-annprocess:latest.release'
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ antlr:antlr:2.7.7
ch.qos.logback:logback-classic:1.2.3
ch.qos.logback:logback-core:1.2.3
colt:colt:1.2.0
com.amazonaws:aws-java-sdk-cloudwatch:1.11.430
com.amazonaws:aws-java-sdk-core:1.11.430
com.amazonaws:jmespath-java:1.11.430
com.amazonaws:aws-java-sdk-cloudwatch:1.11.436
com.amazonaws:aws-java-sdk-core:1.11.436
com.amazonaws:jmespath-java:1.11.436
com.fasterxml.jackson.core:jackson-annotations:2.9.0
com.fasterxml.jackson.core:jackson-core:2.9.6
com.fasterxml.jackson.core:jackson-databind:2.9.6
com.fasterxml.jackson.core:jackson-core:2.9.7
com.fasterxml.jackson.core:jackson-databind:2.9.7
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.6
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.9.7
com.fasterxml:classmate:1.3.0
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.api.grpc:proto-google-cloud-monitoring-v3:1.31.0
Expand All @@ -38,9 +38,9 @@ com.hazelcast:hazelcast:3.8.9
com.microsoft.azure:applicationinsights-core:2.2.0
com.netflix.archaius:archaius-core:0.4.1
com.netflix.hystrix:hystrix-core:1.5.12
com.netflix.spectator:spectator-api:0.78.0
com.netflix.spectator:spectator-ext-ipc:0.78.0
com.netflix.spectator:spectator-reg-atlas:0.78.0
com.netflix.spectator:spectator-api:0.79.0
com.netflix.spectator:spectator-ext-ipc:0.79.0
com.netflix.spectator:spectator-reg-atlas:0.79.0
com.rabbitmq:amqp-client:4.4.1
com.signalfx.public:signalfx-java:0.0.48
com.squareup.okhttp3:okhttp:3.11.0
Expand All @@ -52,6 +52,7 @@ commons-logging:commons-logging:1.2
concurrent:concurrent:1.3.4
dom4j:dom4j:1.6.1
info.ganglia.gmetric4j:gmetric4j:1.0.10
io.dropwizard.metrics5:metrics-core:5.0.0
io.dropwizard.metrics:metrics-core:4.0.3
io.dropwizard.metrics:metrics-graphite:4.0.3
io.dropwizard.metrics:metrics-jmx:4.0.3
Expand Down Expand Up @@ -114,6 +115,7 @@ org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.1.Final
org.jboss:jandex:2.0.3.Final
org.latencyutils:LatencyUtils:2.0.3
org.openjdk.jmh:jmh-core:1.21
org.openjdk.jmh:jmh-generator-annprocess:1.21
org.pcollections:pcollections:3.0.3
org.reactivestreams:reactive-streams:1.0.2
org.slf4j:slf4j-api:1.7.25
Expand Down
Loading

0 comments on commit b7bbea3

Please sign in to comment.