Skip to content

Conversation

@KostasTsiounis
Copy link
Member

Current code ignores parameters that need to be passed to the constructor of a service that needs to be initialized.

This change is rectifying this and ensuring parameters are appropriately forwarded to the service's constructor.

A test to verify this is added using KDF services, which is currently the only one that seems to take advantage of this.

Signed-off-by: Kostas Tsiounis [email protected]

Copy link
Member

@jasonkatonica jasonkatonica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasonkatonica
Copy link
Member

AIX showed a performance increase for algorithm instantiation using our benchmark MessageDigestInstanceBenchmark.java which is a relatively tight loop for testing various digest instantiations.
image

Full JMH data collected:
PR971Data.zip

Current code ignores parameters that need to be passed
to the constructor of a service that needs to be
initialized.

This change is rectifying this and ensuring parameters
are appropriately forwarded to the service's constructor.

A test to verify this is added using KDF services, which
is currently the only one that seems to take advantage
of this.

Signed-off-by: Kostas Tsiounis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants