dolittle-obsolete / DotNET.Fundamentals

Reusable, fundamental abstractions and building blocks
http://www.dolittle.io
MIT License
4 stars 8 forks source link

Build tool for adding an embedded resource into the entry assembly with all Assembly and Type information for discovery cached #169

Closed einari closed 5 years ago

einari commented 5 years ago

To improve startup time, it would be great to come up with a system to get all the assemblies and type to contract map created at build time and embedded as JSON into the entry assembly.

Looking at WebAssembly, this would shave 2-3 seconds off of startup time - on my computer (pretty fast one). Not measured running for non-WebAssembly run, but it would certainly play a role there as well.

This needs alignment with all our other tools as it is a post/after build step in the application.

Use something like Mono Cecil to do this - look at how we've done it in WebAssembly build tool.

┆Issue is synchronized with this Asana task