Yoshiya Hinosawa
d4afbe6ef3
improve benchmark page performance and fix test ( #1002 )
2018-10-16 12:00:47 -04:00
Amos Lim
a90cf4c2ee
Interrupt http_server.py by ctrl + c ( #1001 )
2018-10-16 11:54:08 -04:00
Ryan Dahl
c61a0f2f84
First pass at http benchmark.
2018-10-16 09:37:38 -04:00
Ryan Dahl
62962e71fe
Fix throughput_benchmark
2018-10-16 09:37:38 -04:00
Ryan Dahl
590feb1c71
Format
2018-10-16 09:37:38 -04:00
Jinho Bang
28682a1d2c
Fix a binary size regression
...
This patch changes Jumbo build to use only in debug mode.
2018-10-15 14:22:15 -04:00
Kitson Kelly
25c97962f4
Update to TypeScript 3.1 and ts-simple-ast 17 ( #980 )
2018-10-15 12:47:48 -04:00
Amos Lim
15590a0cde
Specify deno_dir location with env var DENO_DIR ( #970 )
...
(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-15 12:08:19 -04:00
Kitson Kelly
298d755152
Add support for --types
2018-10-11 20:29:43 -04:00
Kitson Kelly
ec402c6932
Replace globals.d.ts with lib.deno_runtime.d.ts
2018-10-11 20:29:43 -04:00
Ryan Dahl
d4f72e18be
Improve tools/unit_tests.py ( #958 )
...
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-11 16:56:50 -04:00
Ryan Dahl
c814d5a914
Add throughput benchmark ( #961 )
2018-10-11 16:55:22 -04:00
Bartek Iwańczuk
51f9331ecb
Add deno.metrics()
2018-10-11 15:45:51 -04:00
Kevin (Kun) "Kassimo" Qian
888824c617
Add redirect follow feature ( #934 )
2018-10-09 20:31:06 -04:00
cedric05
ba6c617432
tslint warning supress using tsconfig
2018-10-05 21:13:35 -04:00
Ryan Dahl
ab952e3340
Format
2018-10-05 14:27:47 -04:00
Chris Bystrek
6a649012bc
Changed tools/lint.py to lint the entire js and tests directories. ( #900 )
...
* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies
* Broke the typescript linting out into separate steps for the main typescript programing and tests.
* Fixed linting issues in ts tests.
2018-10-05 07:29:55 -04:00
Bert Belder
8ca082c508
tools/format: format markdown files with prettier
2018-10-04 02:02:23 -07:00
Ryan Dahl
b7fd6e9c69
Add fetch_deps syscall count benchmark.
2018-09-30 16:35:12 -04:00
Bert Belder
4c6f37cec3
tools: define ERROR_INVALID_PARAMETER in utils.py
...
Fixes #865 .
2018-09-30 12:44:58 -07:00
Andy Hayden
bf93ca54dd
Ensure spawning python server twice raises an exception.
...
Previously it would dump the traceback but not raise.
It's unclear if serve_forever could crash for some other reason,
but the main reason spawn throws is if the port is already in use.
2018-09-27 15:49:43 -04:00
Kevin (Kun) "Kassimo" Qian
32806b1871
Expand binary size benchmark ( #830 )
2018-09-26 14:16:22 -07:00
Bert Belder
206d4f5c17
tools/setup: detect sccache presence and use it to cache rustc targets
2018-09-26 10:25:58 -07:00
Bert Belder
f10012facf
build: let rustc pick filenames, remove rust depfile hack
...
Fixes #787 .
2018-09-26 10:25:49 -07:00
Bert Belder
531a427d88
build: do not quote cc_wrapper on windows
...
This brings behavior inline with the unix toolchain, which also leaves
cc_wrapper unquoted. If necessary, add quotes in the setup phase instead.
2018-09-26 09:52:30 -07:00
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
1956d6846c
Also plot cold start time.
2018-09-25 13:13:09 -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
Kevin (Kun) "Kassimo" Qian
1729bdb0d7
Add thread count benchmark ( #811 )
2018-09-24 18:12:52 -04:00
Bert Belder
2e3a8b495d
tools: make color output work on windows
2018-09-24 13:45:03 -07:00
Yoshiya Hinosawa
9203e983d1
benchmark: track the binary size ( #804 )
2018-09-23 11:54:07 -04:00
Yoshiya Hinosawa
3747ec57e0
Add benchmark tools ( #777 )
2018-09-22 01:09:25 -07: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
Bert Belder
3574c7a5d3
tools/setup: on windows, make env vars not affect gn gen output
2018-09-10 04:29:18 +02:00
Bert Belder
8ace0f142f
tools/format: don't format files in third_party on Windows
2018-09-10 02:20:21 +02:00
Bert Belder
9b052ace09
tools/setup: replace generated args.gn unless handcrafted
2018-09-08 23:55:18 +02:00
Bert Belder
30b268dd7d
build: override host_toolchain on windows to use sccache with v8
2018-09-08 23:55:18 +02:00
Ryan Dahl
7784b0e17e
Move installer to its own repo.
...
https://github.com/denoland/deno_install
1. This allows the installer to use a more aggressive CI build matrix
with different version of python.
2. Running the installer during tools/test.py artificially inflates our
download stats.
3. Running the installer during tools/test.py makes the test script
dependent on having an internet connection.
4. Running the installer during tools/test.py introduces a race
condition during release - where it tries and fails to download the
latest release in build process that should be uploading that release.
2018-09-06 10:22:15 -04:00
Ryan Dahl
43aead854f
Add --reload to JS unit tests.
...
Fixes #677
2018-09-05 22:27:47 -04:00
Bert Belder
2c0d00840d
tools/build: skip build path detection when given '-C «dir»' ninja arg
2018-09-05 01:24:55 +02:00
Ryan Dahl
787832c68e
Format.
2018-09-03 10:45:58 -04:00
Andy Hayden
89dddca3b4
Refactor release_url to take platform as an argument
2018-09-01 10:40:08 -04:00
Andy Hayden
c0ef797fc9
Avoid using temporary directory in install.py
2018-09-01 10:40:08 -04:00
Mirko Jotic
3d063223cc
Add release installer ( #639 )
2018-08-31 20:55:04 -04:00
Aaron Power
f131445a46
Implemented deno.env and refactored flags.rs
2018-08-31 13:18:24 -04:00
Ryan Dahl
a63d794c7f
Fix lastchange rebuild problem.
...
lastchange.py is causing a full rebuild on every commit. This is a
temporary workaround.
2018-08-29 12:05:58 -04:00