You are viewing a plain text version of this content. The canonical link for it is here.
Posted to legal-discuss@apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2018/08/10 16:50:00 UTC

[jira] [Created] (LEGAL-399) Is writing tests based on JMH (Java Microbenchmark Harness) a derivative work on top of JMH?

Vladimir Sitnikov created LEGAL-399:
---------------------------------------

             Summary: Is writing tests based on JMH (Java Microbenchmark Harness) a derivative work on top of JMH?
                 Key: LEGAL-399
                 URL: https://issues.apache.org/jira/browse/LEGAL-399
             Project: Legal Discuss
          Issue Type: Question
            Reporter: Vladimir Sitnikov


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|https://git-wip-us.apache.org/repos/asf?p=calcite.git;a=blob;f=ubenchmark/src/main/java/org/apache/calcite/benchmarks/ParserBenchmark.java;h=90e4e8aedab6d128348da0af48a928923a194efb;hb=HEAD#l108] 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org