Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
results-imgs
results-md
results
src/main/java/io/opentracing/contrib/benchmarks
README.md
pom.xml

README.md

Latest results

The latest results are located here. These graphics are constructed based on raw results located in the results folder.

Description

These tests measure the cost of a simple string concatenation using two constant strings "Hello" and "world" with an iteration number i. The tests are using instrumentation with the different tracers create a span, set a tag with the name of the tracers and log the resultant message of the concatenation.

Dependencies

This project uses this Opentracing dependency:

    <opentracing.version>0.31.0</opentracing.version>
    <jaeger.version>0.31.0</jaeger.version>
    <haystack.version>0.2.5</haystack.version>

    <dependency>
        <groupId>io.opentracing</groupId>
        <artifactId>opentracing-api</artifactId>
	    <version>${opentracing.version}</version>
    </dependency>

And for the different tracer implementations these dependencies:

    <dependency>
        <groupId>io.opentracing</groupId>
        <artifactId>opentracing-noop</artifactId>
        <version>${opentracing.version}</version>
    </dependency>
    <dependency>
        <groupId>io.opentracing</groupId>
        <artifactId>opentracing-mock</artifactId>
        <version>${opentracing.version}</version>
    </dependency>
    <dependency>
        <groupId>io.jaegertracing</groupId>
        <artifactId>jaeger-client</artifactId>
        <version>${jaeger.version}</version>
    </dependency>
    <dependency>
        <groupId>com.expedia.www</groupId>
        <artifactId>haystack-client-core</artifactId>
        <version>${haystack.version}</version>
    </dependency>

SampleTime metrics

  • X axis: represents each execution result.
  • Y axis: represents how long time it takes for the benchmark method to execute.

BenchmarkStringConcatenationSampleTime-5

BenchmarkStringConcatenationSampleTime-6

Throughput metrics

  • X axis: represents each execution result.
  • Y axis: represents of number of operations per second (the number of times per second the benchmark method could be executed).

BenchmarkStringConcatenationThroughput-5

BenchmarkStringConcatenationThroughput-6

Previous results

The previous results are located here.

Environment

The tests were executed in a personal notebook with these characteristics:

  • Model Name: MacBook Pro
  • Processor Name: Intel Core i5
  • Processor Speed: 2.6 GHz
  • Number of Processors: 1
  • Total Number of Cores: 2
  • L2 Cache (per Core): 256 KB
  • L3 Cache: 3 MB
  • Memory: 8 GB
You can’t perform that action at this time.