Ryan Dahl
0fbee30f05
Make format.py less verbose.
2018-10-30 17:42:19 -07:00
Kevin (Kun) "Kassimo" Qian
a68403d090
Add application/x-typescript mime type support
2018-10-28 11:18:53 -07:00
Ryan Dahl
6adc87e3eb
Ergonomics: Prompt TTY for permission escalation ( #1081 )
2018-10-27 06:11:39 -07:00
Bert Belder
dfe21af237
Disable treat_warnings_as_errors on windows when sccache is in use
2018-10-26 04:14:37 +02:00
Ryan Dahl
231bb9cfb6
Add error_001.ts to execution time benchmarks.
...
Ref #1087
2018-10-25 16:12:52 -07:00
Ryan Dahl
3438dbe350
Remove deno_ns
2018-10-24 14:52:38 -07:00
Ryan Dahl
a4fb5175ce
Add node_tcp target to http_benchmark. ( #1074 )
2018-10-23 15:02:30 -07:00
Bert Belder
e9bf206416
format: don't format files in third_party
...
It's annoying, and it also makes appveyor slow because it will re-upload
the third_party cache every time something changes in there.
2018-10-23 18:51:06 +02:00
Bert Belder
0dda87f962
third_party: install yapf with pip
2018-10-23 16:51:54 +02:00
Bert Belder
4ceb205512
Bundle pywin32 in third_party
2018-10-23 16:29:46 +02:00
Kitson Kelly
8ef7da2611
Enforce media types
2018-10-23 04:48:00 -07:00
Kitson Kelly
64f0dfd50e
Improve globals for runtime type library
2018-10-22 19:37:38 -07:00
Ryan Dahl
47c96a6152
CI should fail when code isn't formatted.
2018-10-21 13:59:53 -07:00
Ryan Dahl
bb9a927bd5
Add yapf to third_party.
2018-10-21 13:59:53 -07:00
Kyra
fbb3f05b6f
Add URLSearchParams ( #1049 )
2018-10-21 08:07:29 -07:00
Kevin (Kun) "Kassimo" Qian
86409eb836
Add Rust hyper http benchmark ( #1043 )
...
* Add go net/http benchmark
* Forget about Go. Let's do Rust Hyper
* Update BUILD.gn
* Rename
2018-10-20 19:56:16 -07:00
Yoshiya Hinosawa
f44ecdff97
feat: show only 20 benchmark data in inde.html
2018-10-20 08:07:20 -04:00
Ryan Dahl
00884d7164
Add rustfmt to third_party.
2018-10-20 01:19:59 -04:00
Andy Hayden
2d583f85ee
Exit http_server.py if it's crashed
2018-10-20 00:27:37 -04:00
ztplz
b809a82fd9
Add missing copyrights ( #1024 )
2018-10-19 15:25:29 -04:00
J2P
198fa31ec1
Fix a typo in http_benchmark.py
2018-10-19 09:07:55 -04:00
Ryan Dahl
213885a9d0
Optimization: Reuse ArrayBuffer during serialization.
2018-10-17 20:20:06 -04:00
Ryan Dahl
4e2e185de7
Add tools/build_test.py
2018-10-17 20:20:06 -04:00
Ryan Dahl
21bcdd49cd
Only run deno during ./tools/http_benchmark.py
2018-10-17 16:02:00 -04:00
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