diff options
author | Javen O'Neal <onealj@apache.org> | 2017-05-15 23:27:21 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2017-05-15 23:27:21 +0000 |
commit | 980f319270f3eff03d1db16584a335a21dae8eaf (patch) | |
tree | 9e3de2efcacbe4567111ea266ad5b548ec207d99 /build.gradle | |
parent | ed3706b8ce20e149ef2f81e0a328773a2a17cc07 (diff) | |
download | poi-980f319270f3eff03d1db16584a335a21dae8eaf.tar.gz poi-980f319270f3eff03d1db16584a335a21dae8eaf.zip |
github-54: when adding a picture to an XSSFWorkbook, reduce memory consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54.
https://github.com/apache/poi/pull/54
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 4acabe0f1d..526cff0405 100644 --- a/build.gradle +++ b/build.gradle @@ -199,7 +199,7 @@ project('ooxml') { compile 'org.apache.santuario:xmlsec:2.0.6' compile 'org.bouncycastle:bcpkix-jdk15on:1.54' compile 'com.github.virtuald:curvesapi:1.04' - + // for ooxml-lite, should we move this somewhere else? compile 'junit:junit:4.12' @@ -210,6 +210,8 @@ project('ooxml') { testCompile 'junit:junit:4.12' testCompile project(path: ':main', configuration: 'tests') + testCompile 'org.openjdk.jmh:jmh-core:1.15' + testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.15' } // TOOD: we should not duplicate this task in each project, but I did not figure out how to inject the artifactId for each project |