nealkumar / JBrew

The JBrew library collection is a set of of Java & JNI utility libraries featuring native facades that precisely tune elected garbage-collection sensitive operations for downstream consumers with use-cases hindered by the Java Memory Model. The library also seeks to abstract away syntax pitfalls in concurrency through its Task framework.
https://jbrew.org/
BSD 3-Clause Clear License
0 stars 0 forks source link

[WIP] Espresso : Create Espresso Library #155

Open nealkumar opened 4 years ago

nealkumar commented 4 years ago

Creates the ESPRESSO library: Provided aggregate data operations, similar to SQL. This includes: -SUM -AVG -MIN -MAX -COUNT (though this may not end up being included, since by default java arrays track their own size)

codecov[bot] commented 4 years ago

Codecov Report

Merging #155 into staged-for-release will decrease coverage by 0.54%. The diff coverage is 80.00%.

Impacted file tree graph

@@                  Coverage Diff                   @@
##           staged-for-release     #155      +/-   ##
======================================================
- Coverage               98.15%   97.61%   -0.55%     
======================================================
  Files                      15       16       +1     
  Lines                     163      168       +5     
  Branches                   11       11              
======================================================
+ Hits                      160      164       +4     
- Misses                      2        3       +1     
  Partials                    1        1              
Impacted Files Coverage Δ
...in/java/org/jbrew/cbrew/espresso/SumOperation.java 80.00% <80.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b2839dc...c7aa57e. Read the comment docs.

todo[bot] commented 4 years ago

- Add parallel implementation

https://github.com/nealkumar/JBrew/blob/711f8013623742088e2bbf311e1d2e6950353b83/cbrew/espresso/src/main/java/org/jbrew/cbrew/espresso/SumOperation.java#L25-L30


This comment was generated by todo based on a TODO comment in 711f8013623742088e2bbf311e1d2e6950353b83 in #155. cc @nealkumar.
todo[bot] commented 4 years ago

- Change native method to accept numThreads argument.

https://github.com/nealkumar/JBrew/blob/711f8013623742088e2bbf311e1d2e6950353b83/cbrew/espresso/src/main/java/org/jbrew/cbrew/espresso/SumOperation.java#L26-L30


This comment was generated by todo based on a TODO comment in 711f8013623742088e2bbf311e1d2e6950353b83 in #155. cc @nealkumar.
sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information