Jarred Sumner
54b8cbd972
Add buffer creation snippet
2023-01-02 14:52:06 -08:00
Jarred Sumner
4eb9e8bb5a
update node echo bench
2023-01-02 13:23:08 -08:00
Jarred Sumner
01c81a5f57
[node:crypto] 50x faster createHash
2022-12-29 06:05:43 -08:00
Jarred Sumner
85eda20587
Introduce Bun.CryptoHasher
2022-12-29 06:05:43 -08:00
Colin McDonnell
9ef33312b1
Update bench ( #1648 )
...
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
2022-12-22 19:02:59 -08:00
Jarred Sumner
42fc49d413
Add node:assert bench
2022-12-17 12:26:19 -08:00
Jarred Sumner
3c1ad4b568
prettier
2022-12-15 16:28:47 -08:00
Jarred Sumner
27e40b0836
Update WebKit
...
cc @cirospaciari you will need to re-download the precompiled WebKit build from the releases page https://github.com/oven-sh/WebKit/releases/tag/dec11 because there is one small WebKit API change. LMK if you have any trouble with that
2022-12-11 16:14:53 -08:00
Jarred Sumner
31f025fa02
Add snippet
2022-12-06 14:18:25 -08:00
Jarred Sumner
8582bc08ec
microbench
2022-12-05 03:52:35 -08:00
Jarred Sumner
8c51db0879
misc
2022-12-03 08:26:53 -08:00
Jarred Sumner
d28a4dbb00
Object.defineProperties snippet
2022-12-03 04:26:33 -08:00
Jarred Sumner
4eed310a45
3x faster TextEncoder.prototype.encodeInto
...
thanks to @Constellation for the tip
2022-12-01 18:51:16 -08:00
Jarred Sumner
bddf523ac9
Reduce memory usage in Bun.serve() by up to 3x ( #1569 )
...
* Update WebKit
* Use 5x less memory in Bun.serve()
* Update Dockerfile.devcontainer
* Update async-overhead.mjs
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-12-01 02:34:15 -08:00
Jarred Sumner
39493e5d94
Add microbenchmark for console log
2022-11-27 07:40:10 -08:00
Jarred Sumner
10996a797a
Faster UTF16 -> UTF8 and UTF8 -> UTF16 ( #1552 )
...
* Fix freezing test
* Add SIMDUTF
* More micro bench snippets
* Update .gitattributes
* Update .gitattributes
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-11-26 21:04:38 -08:00
Jarred Sumner
90388aa7ea
Add a console.log write bench
2022-11-26 06:27:49 -08:00
Jarred Sumner
6bfb65b312
Add expect().toEqual() bench
2022-11-23 23:03:40 -08:00
Dylan Conway
dc330701d2
Bun.deepEquals and expect().toEqual() ( #1548 )
...
* all of deepEquals
* remove comment, tests, move inline function
2022-11-23 22:50:49 -08:00
Jarred Sumner
ac36ea51cf
possibly more reliable Bun.spawn ( #1547 )
...
* wip
* wip
* Fix bug with stdin
* zig fmt
* seems to work!
* Update streams.test.js
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-11-23 07:14:33 -08:00
Jarred Sumner
3b802c9a13
Add non-standard headers API types
...
cc @colinhacks @Electroid
2022-11-15 18:32:57 -08:00
Colin McDonnell
f7f1b60444
Add bun-types, add typechecking, add child_process types ( #1475 )
...
* Add bun-types to packages
* Improve typing
* Fix types in tests
* Fix dts tests
* Run formatter
* Fix all type errors
* Add strict mode, fix type errors
* Add ffi changes
* Move workflows to root
* Add workflows
* Remove labeler
* Add child_process types
* Fix synthetic defaults issue
* Remove docs
* Move scripts
* Run prettier
* Include examples in typechecking
* captureStackTrace types
* moved captureStackTrace types to globals
* Address reviews
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2022-11-09 15:40:40 -08:00
Jarred Sumner
34e130a3e0
Add a misc snippet
2022-11-02 20:46:24 -07:00
Jarred Sumner
280c45c269
Upgrade WebKit
2022-10-28 18:57:33 -07:00
Jarred Sumner
02c920f4fd
TCP & TLS Socket API ( #1374 )
...
* TCP Socket API
* Wip
* Add snippet for StringDecoder
* Rename `close` to `stop`, replace `close` with `end`
* Add a tcp echo server test
* Some docs
* Update README.md
* Fix build
* Update README.md
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-10-25 00:44:25 -07:00
Jarred Sumner
8b4c3ec0c7
Add todo
2022-10-18 22:57:06 -07:00
Jarred Sumner
9c7eb75a9a
websocker-server
2022-10-18 22:16:51 -07:00
Aapo Alasuutari
6223030360
Use buffer type for Deno FFI binding to align with Bun usage ( #1321 )
...
* Use buffer type for Deno FFI binding to align with Bun usage
* Prettier
2022-10-18 21:12:33 -07:00
Jarred Sumner
b595ddf20d
Fix error handler
2022-10-17 15:38:36 -07:00
Jarred Sumner
af033c02c5
Fix bench
2022-10-13 15:32:25 -07:00
Jarred Sumner
40506e33e7
Fix bench
2022-10-13 15:26:48 -07:00
Jarred Sumner
32e16bda23
Update react-hello-world.jsx
2022-10-13 02:18:50 -07:00
Jarred Sumner
e32ada318a
Update react-hello-world.jsx
2022-10-13 02:18:25 -07:00
Jarred Sumner
dd15a98879
Add hugemem snippet
2022-10-12 16:56:49 -07:00
Jarred Sumner
6b2637468c
Add snippet
2022-10-12 16:50:57 -07:00
Jarred Sumner
edfd2af949
Update WebKit
2022-10-09 02:02:47 -07:00
Jarred Sumner
4b5c9acc72
Update bench
2022-10-09 02:02:47 -07:00
Jarred Sumner
b63218206d
Add some more bench snippets
2022-10-09 02:02:47 -07:00
Jarred Sumner
cc6077fbf5
Snippet for return await
2022-10-09 02:02:47 -07:00
Jarred Sumner
dc10b24730
Add readdir snippet
2022-10-03 01:58:57 -07:00
Jarred Sumner
76b1a3a88d
Bench snippet for Array.map
2022-09-28 14:38:15 -07:00
Jarred Sumner
2c1926993b
Faster Blob + begin to implement FileSink
2022-09-22 23:45:02 -07:00
Jarred Sumner
2e2e134a1b
typo
2022-09-14 19:25:16 -07:00
Jarred Sumner
4e8bd97d9c
Update crypto.mjs
2022-09-14 19:24:56 -07:00
Jarred Sumner
a31eb6a80c
Add missing getRandomValues to crypto polyfill
2022-09-14 19:15:05 -07:00
Jarred Sumner
b0dd7bee5b
Update crypto benchmark
2022-09-14 18:25:06 -07:00
Jarred Sumner
7bfa302b75
Make crypto.getRandomValues() faster + fix > 1 byte/element typed arrays
...
Fix crypto.getRandomValues() with > 1 byte element typed arrays
Fixes https://github.com/oven-sh/bun/issues/1237
2022-09-14 04:12:32 -07:00
Jarred Sumner
695da9ee29
Fix import path issue in ffi bench
2022-09-09 19:45:39 -07:00
Jarred Sumner
8af05c28a3
Add benchmark for small write() performance
2022-09-07 21:20:41 -07:00
Jarred Sumner
c1734c6ec5
More reliable macOS event loop ( #1166 )
...
* More reliable macOS event loop
* Reduce CPU usage of idling
* Add another implementation
* Add benchmark
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-08-28 21:28:05 -07:00