[ https://issues.apache.org/jira/browse/JCLOUDS-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17555754#comment-17555754 ]
El Mehdi EL BRINI commented on JCLOUDS-1522: -------------------------------------------- This issue is still present in version 2.5.0. Anyone looking into this? > Stop injecting @Assisted for openstack-swift > --------------------------------------------- > > Key: JCLOUDS-1522 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1522 > Project: jclouds > Issue Type: Improvement > Components: jclouds-blobstore > Affects Versions: 2.2.0 > Reporter: Kanstantsin Shautsou > Priority: Major > Labels: swift > > Warning claims speed bump > {quote}com.google.inject.assistedinject.FactoryProvider2 > isValidForOptimizedAssistedInject WARNING: AssistedInject factory > org.jclouds.openstack.swift.v1.blobstore.config.SwiftBlobStoreContextModule$Factory > will be slow because class > org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore has > assisted Provider dependencies or injects the Injector. Stop injecting > @Assisted Provider<T> (instead use @Assisted T) or Injector to speed things > up. (It will be a ~6500% speed bump!) The exact offending deps are: > [Key[type=com.google.inject.Injector, > annotation=[none]]@org.jclouds.openstack.swift.v1.blobstore.RegionScopedSwiftBlobStore.<init>()[0]] > > {quote} > {code:java} > SwiftApi swiftApi = ContextBuilder.newBuilder("openstack-swift") > .endpoint(endpoint) > .overrides(overrides) > .credentials(identity, "") > .modules(modules) > .buildApi(SwiftApi.class); > {code} > Is it valid warning? -- This message was sent by Atlassian Jira (v8.20.7#820007)