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
Bert Belder
542eb54254
tools: make sha256sum.py more generic and move it to 'tools'
2018-08-29 12:28:11 +02:00
Bert Belder
fe9ca53bc2
tools/setup: don't overwrite existing args.gn
2018-08-28 02:01:42 +02:00
Bert Belder
7e3d9f8f2b
format
2018-08-28 02:01:41 +02:00
Ryan Dahl
85ebc6b1ac
Run lastchange.py during setup.py
2018-08-27 19:23:53 -04:00
Ryan Dahl
e13f3c10ca
Add ability to unit test by permissions.
2018-08-27 17:51:24 -04:00
Ryan Dahl
fde96a8e43
allow_reuse_address for test http server.
2018-08-27 17:51:24 -04:00
Bert Belder
4747f50f52
tools/format: fix clang-format glob pattern
2018-08-26 18:27:12 +02:00
Bert Belder
3bcf7e271f
Build: make it possible to use ccache/sccache on windows
...
Also auto-detect the availability of sccache in setup.py.
2018-08-25 14:16:41 +02:00
Ryan Dahl
e2f9b0e6fd
First pass at HTTP imports
...
Implement --reload
Integrate hyper errors into DenoError
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-23 09:41:08 -04:00
Ryan Dahl
7d7263c48f
Implement writeFileSync
...
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-22 18:39:07 -04:00
Ryan Dahl
790baae673
Expose deno.exit() and add test.
2018-08-21 18:34:56 -04:00
Ryan Dahl
f7fd238953
Enable http server for tests.
2018-08-20 16:53:39 -04:00
Ryan Dahl
81b042c8db
Rename :all target to :default
2018-08-18 01:09:48 +02:00
Bert Belder
3640ea4c0d
build: don't clobber rust depfile mtime when fixing its paths
...
This avoids ninja unnecessarily rebuilding rust targets.
Add a check for problems like these to be run on appveyor.
2018-08-18 00:58:01 +02:00
Ryan Dahl
3f7d61a589
Add yarn.lock to third_party
...
Prevents upgrades with running tools/sync_third_party.py
2018-08-17 15:11:32 -04:00
Yoshiya Hinosawa
67d89ff692
chore: download clang-format from google storage
2018-08-17 12:58:58 -04:00
Yoshiya Hinosawa
565a21eb0e
chore: format files in tests/
2018-08-17 12:43:21 -04:00
mervynzhang
e41ee9bf4c
import sys since sys.exit(1) used
2018-08-17 11:00:57 -04:00
Kitson Kelly
c4cafcecb1
Support wildcard matching of output in tests
2018-08-10 11:50:45 -07:00
Ryan Dahl
9d90c4ae95
Adds js/unit_tests.ts ( #448 )
2018-08-09 14:48:17 -07:00