Generate binding files in parallel 03/86903/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 7 Jan 2020 20:35:22 +0000 (21:35 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 15 Jan 2020 00:06:17 +0000 (01:06 +0100)
commit13297dc8de7a2738c4e62f271df182a59c6414d4
treece556fe578600975bf25f0d9153b9d8c2c8a3fa5
parentfa174230d80d4abf25ec67a82db4d2cb7b3a8cf9
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>
(cherry picked from commit a6fb0b3903e8630df18b7c63a116bfd06a716bdf)
binding/maven-sal-api-gen-plugin/src/main/java/org/opendaylight/mdsal/binding/maven/api/gen/plugin/CodeGeneratorImpl.java