gpars Questions

4

I want to run the same Cucumber tests in multiple threads. More specifically, I have a set of features, and running these features in one thread works fine. I use the JSON formatter to record runni...
Dana asked 28/7, 2014 at 22:0

2

Solved

I'm new to the GPARS-library and implementing it in our software at the moment. It's no problem for me to use it instead of the normal groovy-methods like [..].each{..} -> [..].eachParallel...
Resistencia asked 7/12, 2012 at 9:35

1

Solved

When I run the following code in the console (groovy 2.1.3): strings = [ "butter", "bread", "dragon", "table" ] strings.eachParallel{println "$it0"} I get: groovy.lang.MissingMethodException: N...
Twitch asked 4/6, 2013 at 23:32

1

Solved

I want to do alot of stuff with each of those example strings and return Object of some other type here Integers, later some bigger class-objects. Here in this example I am trying something simple...
Mimimimic asked 19/3, 2013 at 11:38

2

Solved

Something is not getting flushed. A simplified example of what's happening: def testDemo() { def person = new Person(...) person.save(flush: true) println "Number of people after save: " + Per...
Clay asked 29/12, 2012 at 6:9

1

Solved

I have a large processing task which I believe is ripe for being made more efficient with concurrency and parallelism. I had a look at the GPars docs and I found them quite confusing so I hope peo...
Pryor asked 17/7, 2012 at 19:30

2

Solved

I thought this would have been an easy thing to find but I've failed. If I use GPars in my Groovy application and I don't specify a pool size how many threads will be created? Is there a default p...
Expensive asked 12/1, 2012 at 17:3
1

© 2022 - 2024 — McMap. All rights reserved.