1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
Commit graph

205 commits

Author SHA1 Message Date
ztplz
989e86c8de Fix some typos (#2005) 2019-03-27 02:26:03 -04:00
Bernard Lin
3cc90d9bcf Add benchmark for max latency (#1975) 2019-03-24 23:36:27 -04:00
Ryan Dahl
12753e492f
Website updates (#1984) 2019-03-22 11:34:47 -04:00
Ryan Dahl
9444bd71a0
Website and manual improvements (#1967) 2019-03-20 12:39:47 -04:00
Ryan Dahl
8f3d0ca664 Deprecate DENO_BUILD_MODE=release
Instead use: tools/build.py --release
2019-03-19 03:50:47 -04:00
Nikola Ristic
22f791c26c Typo fix in styleguide (#1946) 2019-03-17 12:54:06 -04:00
joemclo
785b48a423 Fix a missing import in manual.md example for testing (#1935) 2019-03-16 17:57:09 -04:00
Vincent LE GOFF
23108b06b9 Add test style guide (#1918) 2019-03-15 18:51:47 -04:00
Vincent LE GOFF
b2f15cf21a jsdoc style guide update (#1932) 2019-03-15 11:53:21 -04:00
Yoshiya Hinosawa
4dbc33c6e3 docs: fix example (#1936) 2019-03-15 11:52:45 -04:00
Jack Rowlingson
bf9e5334a8 Fix command in manual.md (#1931) 2019-03-14 10:18:35 -04:00
Jed Fox
ad21be8370 manual: Improve formatting (#1842) 2019-03-11 23:39:46 -04:00
Yoshiya Hinosawa
aed3e590ba docs: package.ts -> deps.ts (#1903) 2019-03-08 13:10:14 -05:00
Ryan Dahl
c42a9d7370
Upgrade deno_std (#1892)
A major API change was that asserts are imported from testing/asserts.ts
now rather than testing/mod.ts and assertEqual as renamed to
assertEquals to conform to what is most common in JavaScript.
2019-03-06 20:48:46 -05:00
Andy Hayden
91364cabae Replace deno.land/x/std with deno.land/std (#1890) 2019-03-06 10:23:47 -05:00
Grant Timmerman
4f623e37c5 Fix website manual link (#1889) 2019-03-05 21:57:57 -05:00
Bert Belder
860be9f0de
tools: remove fix_symlinks() function
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.

It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
2019-03-04 21:01:52 -08:00
Ryan Dahl
e23d0b3452 Improve tagline in README (#1881) 2019-03-04 21:01:32 -08:00
Simon Menke
77d7ad61f3 Allow inspection and revocation of permissions (#1875) 2019-03-04 11:04:19 -05:00
JaePil Jung
1a695dd58b Fix deno imports in manual (#1867) 2019-03-02 16:24:33 -05:00
Bartek Iwańczuk
39ed975911 manual - import.meta.main (#1868) 2019-03-02 15:02:47 -05:00
Ryan Dahl
bf95acf3eb
Fix example in manual (#1863) 2019-03-02 14:58:50 -05:00
Jon Jee
1cc02a5d9d Add favicon.ico generated by deno_logo_3.svg and add link tag in every page (#1861) 2019-03-01 02:59:26 -05:00
Ryan Dahl
33a6409db9
Add NO_COLOR to CLI usage (#1843) 2019-02-27 00:14:10 -05:00
Ryan Dahl
e7e4cb037d
Use the SVG logo everywhere. Add logo links to manual. (#1841) 2019-02-27 00:13:49 -05:00
Kevin (Kun) "Kassimo" Qian
8dee6ea454 Add "Dino in the Rain" to manual page (#1840) 2019-02-26 11:53:34 -05:00
Ryan Dahl
e109941bd2 Improve readme (#1822) 2019-02-21 20:22:44 -08:00
Bartek Iwańczuk
9d025facaa manual: add Deno.run example (#1811) 2019-02-21 15:52:35 -05:00
EnokMan
8c6d6b2832 Add section explaining resources and metrics to the manual (#1819) 2019-02-20 03:29:25 -05:00
Dmitry Teplov
36eecad148 fix: revert http server example on the homepage (#1814) 2019-02-19 22:53:03 -05:00
Ryan Dahl
42408febe8 Add window.location 2019-02-18 23:04:59 -05:00
Bartek Iwańczuk
57dee15844 Add example of starting subprocess to docs (#1791) 2019-02-18 18:52:46 -05:00
Saad Quadri
97e29e3dd0 Fix http server example in homepage (#1801)
This fixes http server example by updating the import path as well as
using respond() correctly.
2019-02-18 18:20:58 -05:00
Mark Tiedemann
a1de28dbef Update installation documentation (Fixes #1786) (#1802) 2019-02-18 18:19:43 -05:00
Maxim Mazurok
55b2f0195f Rename welcome.js to welcome.ts (#1803) 2019-02-18 18:18:00 -05:00
EnokMan
96afb62dfb Add code block language decoration to StyleGuide doc (#1799) 2019-02-17 00:15:19 -05:00
Luke
a8ebb8f05a Added website icon link (#1792) 2019-02-16 09:02:14 -05:00
满远荣
1d7c74e9b5 Syntax highlighting on the website paegs (#1780) 2019-02-15 11:15:44 -05:00
Kitson Kelly
8686f49ee4 Update contribution guidelines (#1771)
To make it clearer how people should indicate that are contributing to Deno.
2019-02-13 20:12:11 -05:00
Philipp A
e782ba1a6f Use proper directory for cache files (#1763)
Operating systems have defined directories for cache files.
That allows them to do smart things such as leaving them out when doing a backup,
or deleting them when disk space gets low.

Also a %home%\.deno folder on windows made no sense whatsoever.

Fixes #481
2019-02-13 08:57:00 -05:00
Ryan Dahl
473d7317ea
More web design work (#1759) 2019-02-12 23:54:08 -05:00
Ryan Dahl
0b0d962eb9
Revert "Rewrite tools/format.py in deno (#1528)" (#1752)
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py

This reverts commit f19622e768.
2019-02-12 15:20:32 -05:00
Kitson Kelly
a21a5ad2fa Add Deno global namespace (#1748)
Resolves #1705

This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
compatibility, the ability to `import * from "deno"` is preserved. I have tried
to convert every test and internal code the references the module to use the
namespace instead, but because I didn't break compatibility I am not sure.

On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
the regular runtime.

The runtime type library includes both the namespace and module. This means it
duplicates the whole type information. When we remove the functionality from the
runtime, it will be a one line change to the library generator to remove the
module definition from the type library.

I marked a `TODO` in a couple places where to remove the `"deno"` module, but
there are additional places I know I didn't mark.
2019-02-12 10:08:56 -05:00
Ryan Dahl
a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00
Kaley Main
39429a261d Add log-scale to execution graph (#1694) 2019-02-06 18:08:26 -05:00
Ryan Dahl
2782d03b29 Remove excessive anchor links. (#1664) 2019-02-06 11:05:38 -08:00
Jimmy Moon
748b0f9c9d Remove duplicated links in website (#1668) 2019-02-04 12:45:05 -05:00
JaePil Jung
66cea39067 Fixed chart width to responsive (#1670) 2019-02-04 08:40:39 -05:00
Dmitry Sharshakov
cb95797e27 Add hashlinks to website (#1659) 2019-02-03 13:24:33 -05:00
Sergey Golovin
201b520c9a Refactor markup of the site (#1663) 2019-02-03 12:49:38 -05:00
Ryan Dahl
1d48e025d3
web design (#1655) 2019-02-02 18:40:18 -05:00
hashrock
7ecd665ddf Add an animated logo (#1653) 2019-02-02 03:56:24 -05:00
Ryan Dahl
b9e368cb4c
Add snapshot_compiler.bin to binary size benchmark (#1611) 2019-01-30 14:01:13 -05:00
Ryan Dahl
514b7d3359
Remove Travis benchmark (#1617)
- We don't look at this benchmark because it jumps around. It isn't
  stable so doesn't feel trustable.
- It requires an extra request for every homepage visit. This is
  excessive.
- I would gladly reintroduce it if we could store the results of the API
  call into a JSON file like we do with other benchmarks.
2019-01-30 13:28:55 -05:00
Dmitry Sharshakov
7c4265159a Change subtitle to 'A new way to JavaScript' (#1603) 2019-01-28 11:54:09 -05:00
Dmitry Sharshakov
2f000303f2 Add PWA manifest to website (#1585) 2019-01-26 12:19:47 -05:00
Dmitry Sharshakov
50613c2df5 Add PowerShell install guide to the website (#1590) 2019-01-26 10:26:54 -05:00
Dmitry Sharshakov
ec4858bcbd Make links and badges look better (#1588) 2019-01-26 10:24:02 -05:00
Dmitry Sharshakov
34dbd31593 Use shell installer in docs (#1574) 2019-01-25 13:40:56 -05:00
Yoshiya Hinosawa
77114fbda4 chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
Yungoo Kong
48ca06e420 website: fix link to http_bench.ts (#1522) 2019-01-15 07:43:02 +01:00
Ryan Dahl
b1c59d7231
Fix links on website (#1511) 2019-01-13 15:52:42 -05:00
Ryan Dahl
904c69c4c6 Add some links to website 2019-01-10 18:13:48 +01:00
Ryan Dahl
2c0cf1bdf7 Add CI badges to website 2018-12-31 19:38:27 +00:00
Ryan Dahl
79db3cede2
Add deno logo to website. (#1380) 2018-12-20 15:09:44 -05:00
Ryan Dahl
528eb2adb3 Add examples to website. 2018-12-18 19:05:48 -05:00
Ryan Dahl
eff66a3c83
Improve text on benchmark site. (#1323) 2018-12-13 16:28:49 -05:00
Allen Hai
b8202d2a02 fix typo on website 2018-12-12 18:26:51 -05:00
Ryan Dahl
b2bc0a7fc9
Improve docs (#1196) 2018-11-16 08:06:03 +08:00
Ryan Dahl
765863e87a Add a simple doc generation tool.
And website upload tool.
2018-11-14 17:34:28 -08:00
bdistin
6345b60ed8 clarify benchmark chart units
Currently, the Travis chart displays "time" as the y-label of the graph, when in fact the unit is in minutes. (makes this consistent with other y-labels being "seconds")
2018-11-01 13:52:27 -07:00
Kitson Kelly
2cfa608324 Support CheckJS 2018-10-24 15:29:30 -07:00
Ryan Dahl
5fbe6a242c
Clean up y-axes on benchmark page. (#1077) 2018-10-24 07:04:33 -07:00
Ryan Dahl
5cf37c2f20 Revert "Support CheckJS"
Broken in master.

This reverts commit dd230d520b.
2018-10-23 07:07:17 -07:00
Kitson Kelly
dd230d520b Support CheckJS 2018-10-23 06:01:11 -07:00
Kevin (Kun) "Kassimo" Qian
c0f70ea868 y label fix 2018-10-20 12:55:42 -04:00
Yoshiya Hinosawa
f44ecdff97 feat: show only 20 benchmark data in inde.html 2018-10-20 08:07:20 -04:00
Ryan Dahl
842a087d51 Add style to benchmark page 2018-10-19 21:36:07 -04:00
Ryan Dahl
b5d7e38f9b Add Docs.md
Remove stuff from Roadmap that has been implemented.
2018-10-19 21:36:07 -04:00
ztplz
b809a82fd9 Add missing copyrights (#1024) 2018-10-19 15:25:29 -04:00
Yoshiya Hinosawa
d4afbe6ef3 improve benchmark page performance and fix test (#1002) 2018-10-16 12:00:47 -04:00
Ryan Dahl
c61a0f2f84 First pass at http benchmark. 2018-10-16 09:37:38 -04:00
Ryan Dahl
c814d5a914
Add throughput benchmark (#961) 2018-10-11 16:55:22 -04:00
Yoshiya Hinosawa
1aa7e18ba3 refactor: stop hard coding some of benchmark names 2018-10-06 23:32:02 -04:00
Bert Belder
b9cdf088e7
format 2018-10-04 02:03:29 -07:00
Yoshiya Hinosawa
e5e7f0f038 fix: re-enable fixed tests 2018-10-03 21:58:33 -04:00
Yoshiya Hinosawa
202e7445d5 fix: fix //website/app_test.js 2018-10-03 21:58:33 -04:00
Bert Belder
6cfc6b5d51
test: disable incorrect tests
These tests weren't running because with the old timer implementation
time-outs were sometimes lost, and the test harness uses setTimeout
to throw errors after a test has failed.
2018-10-03 13:28:00 -07:00
Kanishkar J
3f1899fc46 Hide line with value zero (#882) 2018-10-03 05:21:26 -04:00
Ryan Dahl
545109cf2d Add fetch_deps to syscall count.
The benchmark was added in b7fd6e but was not surfaced in the UI.

TODO: The tests should have failed and caught this situation.
2018-10-03 03:54:25 -04:00
Ryan Dahl
cec82263c1 Format 2018-09-30 16:35:12 -04:00
Ryan Dahl
ef41a1ab2b Add benchmark descriptions. 2018-09-27 05:00:23 -04:00
Kevin (Kun) "Kassimo" Qian
c75b1b6237 Benchmarks: github link and truncate sha1 (#845) 2018-09-27 02:19:42 -04:00
ztplz
c226e1b44e Travis benchmark (#832) 2018-09-26 20:26:34 -04:00
Kevin (Kun) "Kassimo" Qian
32806b1871 Expand binary size benchmark (#830) 2018-09-26 14:16:22 -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
Yoshiya Hinosawa
17a7b03d1b Start testing website (#813) 2018-09-24 11:31:14 -04: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