Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracker: @loaders.gl/core #361

Closed
12 of 27 tasks
ibgreen opened this issue Aug 29, 2019 · 0 comments
Closed
12 of 27 tasks

Tracker: @loaders.gl/core #361

ibgreen opened this issue Aug 29, 2019 · 0 comments
Milestone

Comments

@ibgreen
Copy link
Collaborator

ibgreen commented Aug 29, 2019

v2.x

worker support

  • Set up yarn start-local or yarn start-local-worker to use local workers.
  • Add documentation about how to copy worker scripts to app to avoid relying on CDN (partly done)
  • Add debug option to debug workers - add logging and/or break in debugger
  • Finalize worker override system/security audit (options vs dedicated API etc)
  • New API initializeWorkers([DracoWorkerLoader, ...]) (let app preload worker scripts before parsing is needed for reduced "time to first pixel")
  • Better control of max concurrency (global options, per-loader options, auto detect number of cores, ...)

stats

  • time worker startup times
  • time parsers
  • Export stats object from loaders.gl
  • Total time in parsers
  • Total time in parsers on main thread
  • Time to first data (SSL initialization etc)

embedded binaries

  • Flag to indicate whether binary loader supports offsets or whether arraybuffer copy is needed before invocation?
  • Implement arraybuffer copy before call if needed (auto detect alignment issues?)
  • DracoLoader: Binary test function handle typed arrays with offsets (embedded binaries): byteOffset, byteLength
  • Ability to parse embedded binaries on workers (byteOffset, byteLength) (copy and transfer?)
  • Binary test function handle typed arrays with offsets (embedded binaries): byteOffset, byteLength

v2.0

  • Build ES6/ES2018 debug workers for all loaders
  • Build ES6/ES2018 debug workers - Draco only
  • Conditional workers (Image only when imagebitmap output, CSV, JSON only when binary output etc) @ibgreen
  • Update worker override system (loader-specific options) @ibgreen
  • Conditional worker support: loader.useWorker(options) @ibgreen
  • Support calling "worker parsers" from other worker parsers @Pessimistress
  • Support calling "async parsers" from workers @Pessimistress

loader objects

  • Remove loadAndParse

loader registry and selection

  • registry is currently a map with each extension, which causes same loader to be tests many times...
  • More rigorous selection, documented semantics, public API
@ibgreen ibgreen changed the title Tracker: @loaders.gl/core improvements Tracker: @loaders.gl/core Aug 29, 2019
@ibgreen ibgreen mentioned this issue Sep 9, 2019
3 tasks
@ibgreen ibgreen added this to To do in Milestone 2.0 Oct 7, 2019
@ibgreen ibgreen moved this from To do to Backlog in Milestone 2.0 Oct 24, 2019
@tgorkin tgorkin added this to the v 2.0.0 milestone Nov 7, 2019
@ibgreen ibgreen modified the milestones: v 2.0.0, v 2.1.0 Dec 12, 2019
@ibgreen ibgreen removed this from Backlog in Milestone 2.0 Dec 12, 2019
@ibgreen ibgreen modified the milestones: v 2.1.0, v2.2.0 Mar 23, 2020
@ibgreen ibgreen modified the milestones: v2.2.0, Backlog Jun 29, 2020
@ibgreen ibgreen closed this as completed Oct 23, 2023
@ibgreen ibgreen mentioned this issue Oct 23, 2023
70 tasks
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

No branches or pull requests

2 participants