Title: Add Preload functionality to Context · Issue #145 · scijava/scijava-common · GitHub
Open Graph Title: Add Preload functionality to Context · Issue #145 · scijava/scijava-common
X Title: Add Preload functionality to Context · Issue #145 · scijava/scijava-common
Description: The SciJava Context and Services have been diligent about lazy initialization to optimize startup speeds. However, this can delay performance hits, leading to perceivable performance drops the first time various functions are invoked. Th...
Open Graph Description: The SciJava Context and Services have been diligent about lazy initialization to optimize startup speeds. However, this can delay performance hits, leading to perceivable performance drops the firs...
X Description: The SciJava Context and Services have been diligent about lazy initialization to optimize startup speeds. However, this can delay performance hits, leading to perceivable performance drops the firs...
Opengraph URL: https://github.com/scijava/scijava-common/issues/145
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add Preload functionality to Context","articleBody":"The SciJava `Context` and `Services` have been diligent about lazy initialization to optimize startup speeds. However, this can delay performance hits, leading to perceivable performance drops the first time various functions are invoked.\n\nThus we should provide a `Context.preload` method that performs an `initialize`-style function across all `Services`. This allows it to be opt-in both at the `Service` implementation level, and `Context` consumption level (e.g. developers could choose to make a `Context` and not call `preload`).\n\nThe actual `preload` implementations should perform necessary construction and caching on a dedicated thread to mitigate visible performance problems for users.\n","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2015-02-04T15:40:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/145/scijava-common/issues/145"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a85aef53-8664-7f8f-2cbd-f10f29e75441 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECEC:3C7D7F:579F58:787415:696A7A9E |
| html-safe-nonce | 83655734ac3829f079027841204c7db8e29042769b5b806766c413125dbd4fc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0VDOjNDN0Q3Rjo1NzlGNTg6Nzg3NDE1OjY5NkE3QTlFIiwidmlzaXRvcl9pZCI6Ijg2NDk3NTc2ODU3MDEwNDg5OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0370f662d0e905a6fae1562efa140a435159354aa3c9902c485a5869b7432602 |
| hovercard-subject-tag | issue:56543060 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-common/145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c480d0fc60741bf6a20b50fb19282be2ffe989a485d4564caa6f2c00c842c81c/scijava/scijava-common/issues/145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c480d0fc60741bf6a20b50fb19282be2ffe989a485d4564caa6f2c00c842c81c/scijava/scijava-common/issues/145 |
| og:image:alt | The SciJava Context and Services have been diligent about lazy initialization to optimize startup speeds. However, this can delay performance hits, leading to perceivable performance drops the firs... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width