1. 17 11月, 2019 1 次提交
  2. 14 11月, 2019 1 次提交
  3. 04 11月, 2019 1 次提交
    • B
      Refactor Worker and ThreadSafeState (#3242) · 0049d4e5
      Bartek Iwańczuk 提交于
      * Split ThreadSafeState into State and GlobalState. State is a "local"
        state belonging to "Worker" while "GlobalState" is state shared by
        whole program.
      * Update "Worker" and ops to use "GlobalState" where applicable
      * Move and refactor "WorkerChannels" resource
      0049d4e5
  4. 12 10月, 2019 1 次提交
  5. 05 10月, 2019 1 次提交
  6. 03 10月, 2019 1 次提交
    • K
      Async compiler processing (#3043) · d9ff4ecc
      Kitson Kelly 提交于
      Basically this does pre-processing of TypeScript files and gathers all the
      dependencies asynchronously. Only then after all the dependencies are gathered,
      does it do a compile, which at that point all the dependencies are cached in
      memory in the compiler, so with the exception of the hard coded assets, there
      are no ops during the compilation.
      
      Because op_fetch_source_files is now handled asynchronously in the runtime, we
      can eliminate the tokio_util::block_on() which was causing the increase in
      threads. Benchmarking on my machine has shown about a 5% improvement in speed
      when dealing with compiling TypeScript. Still a long way to go, but an
      improvement.
      
      In theory the module name resolution and the fetching of the source files could
      be broken out as two different ops. This would prevent situations of sending the
      full source file all the time when actually the module is the same module
      referenced by multiple modules, but that could be done subsequently to this.
      d9ff4ecc
  7. 16 9月, 2019 1 次提交
    • R
      Make deno_cli installable via crates.io (#2946) · c9ef1828
      Ryan Dahl 提交于
      - Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
        deno_cli.
      - Combines cli_snapshots and js into one directory.
      - Extracts TS version at compile time rather than runtime
      - Bumps version awkwardly - it was necessary to test end-to-end
        publishing. Sorry.
      - Adds git submodule deno_typescript/typescript
      c9ef1828
  8. 15 9月, 2019 1 次提交
  9. 30 8月, 2019 1 次提交
  10. 26 8月, 2019 1 次提交
  11. 25 8月, 2019 1 次提交
    • R
      Revert json ops (#2814) · 2235dd79
      Ryan Dahl 提交于
      * Revert "port more ops to JSON (#2809)"
      
      This reverts commit 137f3373.
      
      * Revert "port ops to JSON: compiler, errors, fetch, files (#2804)"
      
      This reverts commit 79f82cf1.
      
      * Revert "Port rest of os ops to JSON (#2802)"
      
      This reverts commit 5b2baa5c.
      2235dd79
  12. 24 8月, 2019 1 次提交
  13. 22 8月, 2019 1 次提交
    • R
      Organize dispatch a bit (#2796) · bdc97b39
      Ryan Dahl 提交于
      Just some clean up reorganization around flatbuffer/minimal dispatch
      code. This is prep for adding a JSON dispatcher.
      bdc97b39
  14. 14 8月, 2019 1 次提交