Generate binding files in parallel 95/86795/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Jan 2020 20:35:22 +0000 (21:35 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 14 Jan 2020 15:58:06 +0000 (15:58 +0000)
commita6fb0b3903e8630df18b7c63a116bfd06a716bdf
tree427c7185914c2463b675a1b1972f7d723e6f17fe
parentb32e2ed3958c68357ff60800e3450e69aef02b73
Generate binding files in parallel

Binding-generated files are standalone in that the process of
generating its source does not have any other side effects.

Improve the performance by generating these files in parallel
using the common ForkJoin pool -- thus taking advantage of all
available cores.

Change-Id: I4ee9efea0371fe9574721701ea9674793209cf24
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/maven-sal-api-gen-plugin/src/main/java/org/opendaylight/mdsal/binding/maven/api/gen/plugin/CodeGeneratorImpl.java