Uploaded image for project: 'Legal Discuss'
  1. Legal Discuss
  2. LEGAL-399

Is writing tests based on JMH (Java Microbenchmark Harness) a derivative work on top of JMH?

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None

    Description

      JMH (Java Microbenchmark Harness) seems to be the only sane approach to create benchmarks for Java libraries nowdays. Basically it allows to measure how fast or slow Java code works.

      Apache Calcite uses JMH for that reason, however there's a question:
      1) The license for JMH is GPL
      2) Apache Calcite has a ubenchmark module (Maven module if that matters), which heavily relies on JMH to perform measurements. That is Calcite's code relies on JMH, and basically there's no alternative (there's no alternative that one can supply instead of JMH in order to make ubenchmark module work)
      3) ubenchmark is currently included into the release, however in fact no-one expects that module to be used by the end users. In other words, ubenchmark module is typically used for research purposes only, and it is not touched in any way during normal operation of Apache Calcite

      Here are the questions:
      Q1) Is it a valid use for GPL-licensed JMH in Apache Calcite code?
      Q2) Does ubenchmark code count as a derivative work on top of JMH?
      Q3) Do we have to use GPL license for ubenchmark code?

      Relevant directory in Apache Calcite repository that uses JMH:

      https://git-wip-us.apache.org/repos/asf?p=calcite.git;a=tree;f=ubenchmark;h=07bfdf2766ed001103599350239d8d90cd8920f7;hb=HEAD

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: