Skip to content
Permalink
Branch: master
Commits on Nov 16, 2019
  1. Merge pull request #26 from carl-mastrangelo/bugfix

    carl-mastrangelo committed Nov 16, 2019
    fix events not being included in the trace.
  2. fix events not being included in the trace.

    carl-mastrangelo committed Nov 16, 2019
    Also, it seems the JS base64 parser doesn't work on url encoded values
Commits on Nov 12, 2019
  1. Make java6/9 benchmarks not use constants

    carl-mastrangelo committed Nov 12, 2019
    While it makes the results faster, it's not realistic.   gen and taskname can be constants, but tags and times are not.
    
    ```
    Benchmark                                                  Mode  Cnt   Score   Error  Units
    VarHandleGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   2.685 ± 0.018  ns/op
    VarHandleGeneratorBenchmark.getGeneration                  avgt    5   2.338 ± 0.013  ns/op
    VarHandleGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  19.649 ± 3.114  ns/op
    VarHandleMarkHolderBenchmark.event_name_noTag              avgt    5   3.592 ± 0.444  ns/op
    VarHandleMarkHolderBenchmark.event_name_subname            avgt    5   5.306 ± 0.532  ns/op
    VarHandleMarkHolderBenchmark.event_name_tag                avgt    5   5.663 ± 0.074  ns/op
    VarHandleMarkHolderBenchmark.link                          avgt    5   2.543 ± 0.087  ns/op
    VarHandleMarkHolderBenchmark.start_name_noTag              avgt    5   3.674 ± 0.058  ns/op
    VarHandleMarkHolderBenchmark.start_name_subname            avgt    5   4.937 ± 0.094  ns/op
    VarHandleMarkHolderBenchmark.start_name_tag                avgt    5   5.608 ± 0.130  ns/op
    VarHandleMarkHolderBenchmark.stop_name_noTag               avgt    5   3.496 ± 0.148  ns/op
    VarHandleMarkHolderBenchmark.stop_name_subname             avgt    5   5.134 ± 0.074  ns/op
    VarHandleMarkHolderBenchmark.stop_name_tag                 avgt    5   5.895 ± 0.047  ns/op
    
    Benchmark                                                 Mode  Cnt   Score   Error  Units
    SynchronizedMarkHolderBenchmark.event_name_noTag          avgt    5   6.409 ± 0.141  ns/op
    SynchronizedMarkHolderBenchmark.event_name_subname        avgt    5   6.755 ± 0.066  ns/op
    SynchronizedMarkHolderBenchmark.event_name_tag            avgt    5   9.081 ± 0.149  ns/op
    SynchronizedMarkHolderBenchmark.link                      avgt    5   3.344 ± 0.019  ns/op
    SynchronizedMarkHolderBenchmark.start_name_noTag          avgt    5   6.538 ± 0.023  ns/op
    SynchronizedMarkHolderBenchmark.start_name_subname        avgt    5   6.763 ± 0.067  ns/op
    SynchronizedMarkHolderBenchmark.start_name_tag            avgt    5   9.552 ± 0.095  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_noTag           avgt    5   6.474 ± 0.059  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_subname         avgt    5   7.919 ± 0.049  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_tag             avgt    5   9.768 ± 0.728  ns/op
    VolatileGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   7.667 ± 0.052  ns/op
    VolatileGeneratorBenchmark.getGeneration                  avgt    5   2.265 ± 0.007  ns/op
    VolatileGeneratorBenchmark.ifEnabled                      avgt    5   0.669 ± 0.010  ns/op
    VolatileGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  87.784 ± 1.516  ns/op
    ```
Commits on Nov 10, 2019
Commits on Nov 9, 2019
  1. fix imports

    carl-mastrangelo committed Nov 9, 2019
  2. Expose UUID related tagging methods

    carl-mastrangelo committed Nov 9, 2019
    Benchmarks:
    
    ```
    Benchmark                            (enabled)  Mode  Cnt   Score   Error  Units
    EnabledBenchmark.attachKeyedTag_sn        true  avgt    5   7.321 ± 0.370  ns/op
    EnabledBenchmark.attachKeyedTag_sn       false  avgt    5   0.596 ± 0.011  ns/op
    EnabledBenchmark.attachKeyedTag_snn       true  avgt    5   8.508 ± 0.161  ns/op
    EnabledBenchmark.attachKeyedTag_snn      false  avgt    5   0.598 ± 0.015  ns/op
    EnabledBenchmark.attachKeyedTag_ss        true  avgt    5   8.340 ± 0.076  ns/op
    EnabledBenchmark.attachKeyedTag_ss       false  avgt    5   0.604 ± 0.025  ns/op
    EnabledBenchmark.createTag                true  avgt    5   5.243 ± 0.162  ns/op
    EnabledBenchmark.createTag               false  avgt    5   2.660 ± 0.023  ns/op
    EnabledBenchmark.event                    true  avgt    5  32.908 ± 0.214  ns/op
    EnabledBenchmark.event                   false  avgt    5   0.605 ± 0.012  ns/op
    EnabledBenchmark.link                     true  avgt    5  12.158 ± 0.197  ns/op
    EnabledBenchmark.link                    false  avgt    5   0.597 ± 0.011  ns/op
    EnabledBenchmark.startStop                true  avgt    5  60.273 ± 0.852  ns/op
    EnabledBenchmark.startStop               false  avgt    5   0.603 ± 0.006  ns/op
    ```
Commits on Nov 7, 2019
  1. Merge pull request #23 from carl-mastrangelo/subtask

    carl-mastrangelo committed Nov 7, 2019
    Add "subtask" variants of start, stop, and event
  2. Add "subtask" variants of start, stop, and event

    carl-mastrangelo committed Nov 7, 2019
    Sub tasks are meant for use when the task name is a concatenation of two, runtime constant
    strings, but the caller doesn't want to pay the allocation cost.  None of these methods
    support Tag overloads, and instead expect callers to invoke attachTag instead.
    
    Perf:
    
    ```
    Benchmark                                                  Mode  Cnt   Score   Error  Units
    VarHandleGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   2.610 ± 0.022  ns/op
    VarHandleGeneratorBenchmark.getGeneration                  avgt    5   2.379 ± 0.330  ns/op
    VarHandleGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  21.905 ± 2.327  ns/op
    VarHandleMarkHolderBenchmark.event_name_noTag              avgt    5   3.581 ± 0.178  ns/op
    VarHandleMarkHolderBenchmark.event_name_subname            avgt    5   4.131 ± 0.058  ns/op
    VarHandleMarkHolderBenchmark.event_name_tag                avgt    5   4.417 ± 0.083  ns/op
    VarHandleMarkHolderBenchmark.link                          avgt    5   2.301 ± 0.038  ns/op
    VarHandleMarkHolderBenchmark.start_name_noTag              avgt    5   3.460 ± 0.048  ns/op
    VarHandleMarkHolderBenchmark.start_name_subname            avgt    5   3.987 ± 0.090  ns/op
    VarHandleMarkHolderBenchmark.start_name_tag                avgt    5   4.448 ± 0.082  ns/op
    VarHandleMarkHolderBenchmark.stop_name_noTag               avgt    5   3.505 ± 0.042  ns/op
    VarHandleMarkHolderBenchmark.stop_name_subname             avgt    5   4.019 ± 0.056  ns/op
    VarHandleMarkHolderBenchmark.stop_name_tag                 avgt    5   4.503 ± 0.054  ns/op
    
    Benchmark                                                 Mode  Cnt   Score   Error  Units
    SynchronizedMarkHolderBenchmark.event_name_noTag          avgt    5   5.910 ± 0.077  ns/op
    SynchronizedMarkHolderBenchmark.event_name_subname        avgt    5   7.843 ± 0.064  ns/op
    SynchronizedMarkHolderBenchmark.event_name_tag            avgt    5   9.060 ± 0.116  ns/op
    SynchronizedMarkHolderBenchmark.link                      avgt    5   3.474 ± 0.051  ns/op
    SynchronizedMarkHolderBenchmark.start_name_noTag          avgt    5   5.849 ± 0.067  ns/op
    SynchronizedMarkHolderBenchmark.start_name_subname        avgt    5   7.791 ± 0.093  ns/op
    SynchronizedMarkHolderBenchmark.start_name_tag            avgt    5   9.105 ± 0.176  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_noTag           avgt    5   6.595 ± 0.109  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_subname         avgt    5   7.993 ± 0.071  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_tag             avgt    5   9.195 ± 0.082  ns/op
    VolatileGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   7.712 ± 0.121  ns/op
    VolatileGeneratorBenchmark.getGeneration                  avgt    5   2.262 ± 0.012  ns/op
    VolatileGeneratorBenchmark.ifEnabled                      avgt    5   0.692 ± 0.007  ns/op
    VolatileGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  93.333 ± 2.295  ns/op
    ```
Commits on Nov 6, 2019
  1. Merge pull request #22 from carl-mastrangelo/variad2

    carl-mastrangelo committed Nov 6, 2019
    Merge in Variable size recorders
  2. Benchmark numbers with variable size

    carl-mastrangelo committed Nov 6, 2019
    Benchmark                                                  Mode  Cnt   Score   Error  Units
    VarHandleGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   2.671 ± 0.139  ns/op
    VarHandleGeneratorBenchmark.getGeneration                  avgt    5   2.367 ± 0.557  ns/op
    VarHandleGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  22.265 ± 0.184  ns/op
    VarHandleMarkHolderBenchmark.event_name_noTag              avgt    5   3.572 ± 0.018  ns/op
    VarHandleMarkHolderBenchmark.event_name_tag                avgt    5   4.554 ± 0.026  ns/op
    VarHandleMarkHolderBenchmark.link                          avgt    5   2.250 ± 0.044  ns/op
    VarHandleMarkHolderBenchmark.start_name_noTag              avgt    5   3.552 ± 0.032  ns/op
    VarHandleMarkHolderBenchmark.start_name_tag                avgt    5   4.371 ± 0.032  ns/op
    VarHandleMarkHolderBenchmark.stop_name_noTag               avgt    5   3.448 ± 0.010  ns/op
    VarHandleMarkHolderBenchmark.stop_name_tag                 avgt    5   4.592 ± 0.024  ns/op
    
    Benchmark                                                 Mode  Cnt   Score   Error  Units
    SynchronizedMarkHolderBenchmark.event_name_noTag          avgt    5   5.843 ± 0.094  ns/op
    SynchronizedMarkHolderBenchmark.event_name_tag            avgt    5   9.277 ± 0.120  ns/op
    SynchronizedMarkHolderBenchmark.link                      avgt    5   3.444 ± 0.021  ns/op
    SynchronizedMarkHolderBenchmark.start_name_noTag          avgt    5   5.891 ± 0.269  ns/op
    SynchronizedMarkHolderBenchmark.start_name_tag            avgt    5   9.123 ± 0.182  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_noTag           avgt    5   5.896 ± 0.130  ns/op
    SynchronizedMarkHolderBenchmark.stop_name_tag             avgt    5   9.275 ± 0.283  ns/op
    VolatileGeneratorBenchmark.getAndSetAndGetGeneration      avgt    5   7.827 ± 0.041  ns/op
    VolatileGeneratorBenchmark.getGeneration                  avgt    5   2.158 ± 0.014  ns/op
    VolatileGeneratorBenchmark.ifEnabled                      avgt    5   0.688 ± 0.004  ns/op
    VolatileGeneratorBenchmark.racyGetAndSetAndGetGeneration  avgt    5  93.122 ± 1.743  ns/op
  3. update java 9

    carl-mastrangelo committed Nov 6, 2019
  4. fix gradle compile

    carl-mastrangelo committed Nov 6, 2019
Commits on Nov 4, 2019
Commits on Nov 3, 2019
Commits on Nov 1, 2019
Commits on Oct 27, 2019
Commits on Oct 22, 2019
  1. Merge pull request #13 from carl-mastrangelo/master

    carl-mastrangelo committed Oct 22, 2019
    impl: return correct start time
    
    util: remove some more compile time
Older
You can’t perform that action at this time.