1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
Commit graph

7652 commits

Author SHA1 Message Date
Bert Belder
023b4640fc
tools/setup: add gn_string() utility function 2018-09-26 09:52:30 -07:00
Bert Belder
1b9424e9d7
tools: add shell_quote() utility function 2018-09-26 09:52:30 -07:00
Bert Belder
3a6da19eb8 Revert "Expand binary size benchmark (#830)"
This reverts commit 8c7416b3f6.
2018-09-26 08:35:12 -04:00
Kevin (Kun) "Kassimo" Qian
8c7416b3f6 Expand binary size benchmark (#830) 2018-09-25 20:08:09 -04:00
Ryan Dahl
591174a686 Disable test_fetch_sync_string. 2018-09-25 17:02:49 -04:00
Ryan Dahl
b088b58f76 Add SetGlobalTimeout().
To be used for a timers implementation soon.
2018-09-25 17:02:49 -04:00
Ryan Dahl
4fd2b19f64 Make Deno multithreaded.
By using the tokio default runtime.

This patch makes all of the ops thread safe.

Adds libdeno to JS globals to make for easier testing.

Preliminary work for #733.
2018-09-25 17:02:49 -04:00
Ryan Dahl
7c128df4a0 Use lazy_static for HttpsConnector
And rename net.rs to http.rs

Share HTTP connection.
2018-09-25 17:02:49 -04:00
Ryan Dahl
7fb2821937 format 2018-09-25 17:02:49 -04:00
Ryan Dahl
a6f6d0b712 Clean up flags. 2018-09-25 17:02:49 -04:00
Ryan Dahl
1956d6846c Also plot cold start time. 2018-09-25 13:13:09 -04:00
J2P
3c24b9f724 Fix trace test code 2018-09-25 12:47:13 -04:00
Kevin (Kun) "Kassimo" Qian
f156a86024 console.warn goes to stderr (#810) 2018-09-25 01:27:02 -04:00
Mani Maghsoudlou
ad5065e23e Implement deno.readlink() (#797) 2018-09-25 00:20:49 -04:00
Kevin (Kun) "Kassimo" Qian
d957f8ebc2 Add syscall count benchmark for 002_hello.ts (#820)
* Add syscall count tracking for benchmark

* Add fetch_deps thread benchmark

* Switch to `strace -c` for syscall parsing

* Spawn http_server during benchmark (for fetch)

* Rename `benchmarks` to `exec_time_benchmarks`

* Update app_test.js
2018-09-24 23:58:18 -04:00
Ryan Dahl
234d5ea780 libdeno.send(): Use GetContents instead of Externalize
Fixes #744.
2018-09-24 22:16:23 -04:00
Bert Belder
f42849744b
travis: save homebrew/ccache to cache, set ccache size to 1GB 2018-09-24 17:36:14 -07:00
Kevin (Kun) "Kassimo" Qian
1729bdb0d7 Add thread count benchmark (#811) 2018-09-24 18:12:52 -04:00
Bert Belder
d6a97ae4f0
build: always enable clang color output 2018-09-24 13:45:03 -07:00
Bert Belder
af3f62eedf
build: enable rust color output on windows 2018-09-24 13:45:03 -07:00
Bert Belder
2e3a8b495d
tools: make color output work on windows 2018-09-24 13:45:03 -07:00
Kevin (Kun) "Kassimo" Qian
be8f49b332 Add toString for CallSite of eval origin (#809) 2018-09-24 15:42:09 -04:00
Bartek Iwańczuk
3fe4be07ca Add flag --recompile (#801) 2018-09-24 15:33:50 -04:00
Yoshiya Hinosawa
17a7b03d1b Start testing website (#813) 2018-09-24 11:31:14 -04:00
Kevin (Kun) "Kassimo" Qian
c124db4701 [console] Use constructor.name to print out function type (#664) 2018-09-24 10:06:48 -04:00
Yoshiya Hinosawa
9203e983d1 benchmark: track the binary size (#804) 2018-09-23 11:54:07 -04:00
Bert Belder
56acb6fa0e travis: fix the build, attempt 2 2018-09-22 12:27:50 -04:00
ztplz
f3684c28e5 Rename deno.argv, libdeno::DenoC and deno_set_flags (#796) 2018-09-22 08:47:44 -04:00
Ryan Dahl
7a4ad045b1
Update README and Roadmap. (#799) 2018-09-22 08:43:44 -04:00
Bert Belder
6b868ebba4 travis: fix github pages deploy condition 2018-09-22 08:42:59 -04:00
Bert Belder
06c2e084ff
travis: run benchmarks on linux, deploy to github pages 2018-09-22 01:31:54 -07:00
Bert Belder
82ca6538b1
travis: clean up & tweaks 2018-09-22 01:31:49 -07:00
Yoshiya Hinosawa
3747ec57e0
Add benchmark tools (#777) 2018-09-22 01:09:25 -07:00
Kevin (Kun) "Kassimo" Qian
7a0670a951 Implement deno.trace() (#795) 2018-09-22 03:59:26 -04:00
Ryan Dahl
8e958d3ad6 v0.1.5
- Add atob() btoa() #776
- Add deno.arch deno.platform #773
- Add deno.symlink() and deno.symlinkSync() #742
- Add deno.mkdir() and deno.mkdirSync() #746
- Add deno.makeTempDir() #740
- Improvements to FileInfo interface #765, #761
- Add fetch.blob()
- Upgrade V8 to 7.0.276.15
- Upgrade Rust crates
2018-09-21 23:21:30 -04:00
Bert Belder
516e1da54c
Revert "Add benchmark tools (#777)"
This reverts commit 3ad48bdb3e.
2018-09-21 15:18:44 -07:00
Yoshiya Hinosawa
3ad48bdb3e Add benchmark tools (#777) 2018-09-21 12:06:59 -04:00
Kevin (Kun) "Kassimo" Qian
4d16d54ff8 Add atob() and btoa() (#776) 2018-09-20 18:53:29 -04:00
Jamie
52d415537b Fix async-await syntax 2018-09-20 02:19:26 -04:00
Kevin (Kun) "Kassimo" Qian
fab4bdf40d Add deno.arch/deno.platform (#773) 2018-09-20 02:13:59 -04:00
Mani Maghsoudlou
017ef096df Implement deno.symlink() (#742) 2018-09-18 21:38:24 -07:00
Bert Belder
d19268b2bf
appveyor: show test output in the build log in realtime 2018-09-17 22:54:51 -07:00
Bert Belder
93a533d732
appveyor: don't persist rollup cache in appveyor cache
Rollups cache usage has turned out to be unreliable, reusing stale data
that should be regenerated.
2018-09-17 22:54:51 -07:00
Bert Belder
7553bcb74f
format 2018-09-17 22:54:39 -07:00
Ryan Dahl
419a814f35 Remove unused .gclient_entries file. 2018-09-17 21:41:29 -07:00
Ryan Dahl
62470c4f45 Upgrade V8 to 7.0.276.15 2018-09-17 21:41:29 -07:00
Ryan Dahl
3c9bb1e799 Isolate::execute doesn't need mutability. 2018-09-17 20:07:53 -07:00
Ryan Dahl
6143a64256 Rename Deno to Isolate and move to own file. 2018-09-17 20:07:53 -07:00
Kevin (Kun) "Kassimo" Qian
e3d634eb21 Make mode always u32 and switch to has_mode for StatRes fbs (#761) 2018-09-17 16:53:55 -07:00
Bert Belder
82d0638139 Add missing deps to cargo.toml
We're using ring and futures directly, so they should be listed in
cargo.toml.
2018-09-17 12:09:20 -07:00