summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-16improve benchmark page performance and fix test (#1002)Yoshiya Hinosawa
2018-10-16Interrupt http_server.py by ctrl + c (#1001)Amos Lim
2018-10-16First pass at http benchmark.Ryan Dahl
2018-10-16Fix throughput_benchmarkRyan Dahl
2018-10-16FormatRyan Dahl
2018-10-15`deno -v` should report typescript versionJinho Bang
Fixes #993
2018-10-15Exit cleanly on unrecognized arguments (#990)Andy Hayden
Refactor set_flags to return a Result
2018-10-15Fix a binary size regressionJinho Bang
This patch changes Jumbo build to use only in debug mode.
2018-10-15Update to TypeScript 3.1 and ts-simple-ast 17 (#980)Kitson Kelly
2018-10-15Improve build performance by using jumbo buildJinho Bang
The Jumbo build is the Chromium implementation of a Unity build system aimed at dramatically lowering the compilation times. It can be easily enabled with `use_jumbo_build=true`. When you enable this, the biggest problem is that name conflicts can occur between multiple c++ files merged, which is no problem for `deno`. Because the V8's Jumbo build is managed in upstream, and `deno` will just pick up a stable build V8. So, this patch enables Jumbo build by default. After this patch, the total number of build objects are halved. (1014 -> 493) FYI, the following results are tested in my local environment. - IMAC 5K, i5 4-cores, 24GB, 512GB SSD Test result1: No use ccache | |Jumbo build without ccache|Normal build without ccache| |---|--------------------------|---------------------------| | 1 | 0:05:26 | 0:11:31 | | 2 | 0:05:24 | 0:11:29 | | 3 | 0:05:25 | 0:11:28 | | 4 | 0:05:24 | 0:11:29 | | 5 | 0:05:26 | 0:11:29 | |AVG| 0:05:25 | 0:11:29 | Test result2: Use ccache | |Jumbo build with ccache|Normal build with ccache| |---|-----------------------|------------------------| | 1 | 0:01:38 | 0:01:13 | | 2 | 0:01:45 | 0:01:21 | | 3 | 0:01:39 | 0:02:20 | | 4 | 0:01:45 | 0:02:16 | | 5 | 0:01:42 | 0:02:19 | | 6 | 0:01:17 | 0:01:11 | | 7 | 0:01:01 | 0:01:48 | | 8 | 0:00:54 | 0:01:57 | | 9 | 0:01:03 | 0:02:15 | |10 | 0:01:36 | 0:02:19 | |AVG| 0:01:26 | 0:01:54 | Refs: https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
2018-10-15Specify deno_dir location with env var DENO_DIR (#970)Amos Lim
(Use C:\deno instead of c:\deno in appveyor config because it's cloned to c:\ by clone_folder variable in .appveyor.yml. On the other hand, build directory is pointed to C:\ by $(APPVEYOR_BUILD_FOLDER) so that test targets are placed on separated partitions.)
2018-10-14Add CONTRIBUTING.mdKitson Kelly
2018-10-14Align JSDoc to style guide.Kitson Kelly
2018-10-13Remove deno name assumption from testsKevin (Kun) "Kassimo" Qian
2018-10-13Add cwd() and chdir() (#907)Shiva Prasanth
2018-10-12v0.1.8Ryan Dahl
- Fix promise reject issue (#936) - Add --types command line flag. - Add metrics() - Add redirect follow feature #934 - Fix clearTimer bug #942 - Improve error printing #935 - Expose I/O interfaces Closer, Seeker, ReaderCloser, WriteCloser, ReadSeeker, WriteSeeker, ReadWriteCloser, ReadWriteSeeker - Fix silent death on double await #919 - Add Conn.closeRead() and Conn.closeWrite() #903
2018-10-12Fix promise reject issue (#936)Kevin (Kun) "Kassimo" Qian
2018-10-12perf: Increase copy() buffer to 32kRyan Dahl
This will improve the threshold benchmark. Using 32k because that's what Go uses, but we should explore the value in the future. https://github.com/golang/go/blob/a0d6420d8be2ae7164797051ec74fa2a2df466a1/src/io/io.go#L391
2018-10-11Add support for --typesKitson Kelly
2018-10-11Replace globals.d.ts with lib.deno_runtime.d.tsKitson Kelly
2018-10-11Use node v8 on Travis.Ryan Dahl
Apparently OSX defaults to v6 and Linux to v8. v6 does not properly run //js/testing due to async usage.
2018-10-11Fix metrics() race condition. (#965)Ryan Dahl
2018-10-11Improve tools/unit_tests.py (#958)Ryan Dahl
Checks the output more carefully. The first line of output from js/unit_tests.ts should be something like "running 96 tests" And the last line should be something like "test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 36 filtered out" This parses those strings and make sure they align. This will catch silent death bugs.
2018-10-11Add throughput benchmark (#961)Ryan Dahl
2018-10-11Add deno.metrics()Bartek IwaƄczuk
2018-10-11timers: align unit tests with othersLi Hao
2018-10-11Add links of issues in Roadmap.mdAmos Lim
2018-10-10src/http.rs -> src/http_util.rsRyan Dahl
So as not to conflict with http crate.
2018-10-10Rename fd to ridJ2P
2018-10-10Rename BadFileDescriptorJ2P
2018-10-10Upgrade hyper-rustlsRyan Dahl
This removes tokio-core, which was deprecated.
2018-10-10Clean up Isolate::event_loop with utility function.Ryan Dahl
2018-10-10Add counts for ignored , measured, filteredztplz
2018-10-09Add redirect follow feature (#934)Kevin (Kun) "Kassimo" Qian
2018-10-09Re-enable test_fetch_sync_stringRyan Dahl
2018-10-08timers: add test for clearTimer bug #942Bert Belder
2018-10-08timers: fix clearTimer bugLi Hao
2018-10-08Remove deno_get_data()Bert Belder
Instead, pass the isolate data to the dispatch callback directly.
2018-10-08Abide by the rules when passing Isolate between c and rustBert Belder
Ensure that at most one mutable Isolate reference exists at a time. `deno_execute()` and `deno_respond()` now borrow a reference to the rust-side isolate from the caller. When we need a reference to the isolate while one of these functions is on the stack, `deno_get_data()` can be used to borrow back that reference.
2018-10-08Remove ntasks aliasing workaroundBert Belder
2018-10-08Rename Deno.data to Deno.user_dataBert Belder
Also use the correct rust type for it.
2018-10-08Rename Isolate.ptr to Isolate.libdeno_isolateBert Belder
2018-10-08FormatBert Belder
2018-10-08Check thrown type, print String(...) if not instance of error (#939)Kevin (Kun) "Kassimo" Qian
Fixes #935
2018-10-07Updates to js to clean up default libraryKitson Kelly
2018-10-06refactor: stop hard coding some of benchmark namesYoshiya Hinosawa
2018-10-06docs: fix urls in commentsYoshiya Hinosawa
2018-10-06Export missing io types from denons
2018-10-06Make ntasks an atomic counter.Ryan Dahl
Fixes #919.
2018-10-06Add failing test for #919.Kevin (Kun) "Kassimo" Qian