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
Jarred Sumner
af5c4dedca
Update WebKit ( #1165 )
...
* Update WebKit
* Fix `DataView` and non-8 bit sized typed arrays with TextDecoder
* New WebKit
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-08-27 23:46:05 -07:00
Hyro
7a734e0a28
feat: implement native os module ( #1115 )
...
* feat: implement os module
* revert(bun-error): package-lock.json
* feat: implement EOL
* feat: implement EOL
* feat: implement arch function
* feat: implement homedir function
* add comptime to homedir if
* feat: add platform function
* feat: implement type function
* feat: add hostname (not sure iff works on all platforms)
* chore: make requested changes
* fix: change toValueGC into toValue in arch function
* add EOL, devNull constant variables
* fix: store only string
* feat: add tests
* feat: add endianness
* ususe toValue for devNull & EOL
* feat: implement endianness & fix release
* revert javascript.zig fix
* feat: implement tmpdir
* feat: implement totalmem, freemem, uptime
* feat: loadavg
* feat: implement version
* feat: add userInfo
* feat: implement totalmem for macos
* feat: add getPriority (not finished, waiting for dc response)
* feat: finish userInfo implementation
* feat: implement cpus, not done
* feat: finish getPriority implementation & stats cpus()
* feat: implement setPriority
* reemove test.c
* feat: implement constants.dlope.xn, constants.priority.x, constants.UV_UDP_REUSEADDR
* feat: implement signals, errno
* updated cpus function, stilldoesnt work
* increase object length
* feat: add t more ests
* feat: add cpus()
* remov some files
* fix: handle empty array
* started working on interface addresses (in C)
ill use C++ after it work
* fix interface_addresses
* Improved getCpuInfo code, decreased ram usage, increased speed
* getCpuTime optimizations
* started working on networkInterfaces
* feat: networkInterfaces implementation
* delete unnecessary files
* add benchs & fix code
* add tests
* add missing benchs
* Increased buffer of getCpuInfo to 2048, it should skip few iterations
* remove hardcoded constants
* feat: implement errno constants
* fix getWindowsErrorConstant
* feat: add signal constants
* feat: implement priority constants
* remove duplications
* fix: change value to ?i16
* fix(__defineConstant): make some parameters comptime, change value to ?i32
* fix: add E to ERRNO constants, add SIG to SIG constants
* feat: add dlopen constants
* change functions to private
* feat: add UV_UDP_REUSEADDR
* fix typo
* simplify functions
* rename functions in bindings
* feat: implement loadavg for darwin
* feat: implement system uptime
* feat: implement get free memory for darwin
* fix system memory bindings
* feat: implement network interfaces for darwin
* code cleanup
* feat: support for macos version & release
* some fixes
* MacOS support for CpuInfo
* Fixed minor mistake in getCpuInfo_B
* Delete test.zig
* Update c_cpp_properties.json
* Update tasks.json
* feat: implement scopeid
* feat: implement cidr 🚀
* remove unnecesarry changes
* remove unnecesarry changes
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* fix: import string
* fix: change IPV6 to IPv6
* fix some things
* chore: make requested changes
* revert: launch.json
* fix test
* Fixed few memory leaks
* testing
* again
* added len
* another test
* improved parsing
* added small check
* Bonk
* FINISH 🚀 🚀 🚀 🚀 🚀 🚀
* Update tasks.json
* NetworkInterface test
* FINISH 🚀 🚀 🚀
Co-authored-by: Fire-The-Fox <gajdos.jan77@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2022-08-25 19:38:28 -07:00
Jarred Sumner
47a91e7457
Fix import path
2022-08-22 00:04:27 -07:00
Jarred Sumner
b95e6602c3
Add a snippet for benchmarking EventEmitter vs EventTarget
2022-08-22 00:04:27 -07:00
Jarred Sumner
c4580ee2ca
Rename reactdom-bun -> react-dom-server.bun
2022-08-21 01:00:27 -07:00
Jarred Sumner
baf218c233
Add a bench snippet for sha512
2022-08-21 00:51:27 -07:00
Jarred Sumner
5de8271181
Handle builds with remote inspector disabled
2022-08-18 00:22:24 -07:00
Jarred Sumner
9594c82180
Update react-hello-world.jsx
2022-08-17 07:55:19 -07:00
Zilin Zhu
0aa3a0a5b0
Fix server segfault by making controller not early GC'ed ( #1090 )
...
* Fix http server segfault by making controller not get GC'ed
* fix format
2022-08-17 05:22:09 -07:00
Jarred Sumner
429abc1278
[bun:ffi] ~30% perf improvement for wrapped functions
2022-08-09 16:35:06 -07:00
Jarred Sumner
16f24086f8
[node compat] Improve fs.copyFileSync performance on macOS
2022-08-09 05:48:20 -07:00
Jarred Sumner
8ae4c745e1
Improve fs.copyFile performance on Linux ( #1035 )
...
* [fs] Improve fs.copyFile performance on Linux
* Add a fs.copyFileSync benchmark
* Fix build error
* Update node.mitata.mjs
* Be more careful with permission
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-08-09 05:44:39 -07:00
Hyro
5bca8a1d47
benchmarks(sqlite): invalid northwind database url ( #989 )
...
* build:(landing) automated website build
* Revert "build:(landing) automated website build"
This reverts commit ddee8485fd .
* benchmarks(sqlite): fix invalid northwind database url
Co-authored-by: xHyroM <xHyroM@users.noreply.github.com >
2022-08-05 10:36:32 -07:00
Jarred Sumner
440eba7c9b
[misc] Fix make headers
2022-08-03 19:13:08 -07:00
Jarred Sumner
bced6fab58
Delete plus100-napi
2022-07-22 01:53:57 -07:00
Jarred Sumner
80f797b2e5
Mark as executable
2022-07-22 01:37:42 -07:00
Shahidul Islam Majumder
600929ee6d
fix deno console.log benchmark ( #771 )
...
* chore(benchmark): fix deno console.log benchmark
* only show benchmark results
Co-authored-by: evanwashere <github@evan.lol >
2022-07-18 19:30:58 -04:00
Jarred Sumner
9bba47129a
Add a console.log bench
2022-07-13 01:03:03 -07:00
evanwashere
71930db9b0
fix benchmark not building with old rust version
2022-07-13 03:14:50 -04:00
evan
a9e4ff2029
cleanup benchmarks folder ( #587 )
...
* cleanup benchmarks
* run prettier
2022-07-12 01:40:12 -07:00
Ryan Russell
f0529ca253
docs(various): .md readability improvements ( #597 )
2022-07-12 00:41:23 +02:00
lucasew
118c134918
update bash references to work in non-fhs compliant distros
...
Signed-off-by: lucasew <lucas59356@gmail.com >
2022-07-09 18:28:32 -07:00
sno2
f5d896542a
fix: update build files to latest Zig version
2022-07-09 18:25:25 -07:00
Jarred Sumner
d875c9988a
[bench] Add comparison for react-dom builds
2022-07-06 00:07:59 -07:00
Luca Casonato
8c1157be22
Disable response body auto compression in Deno
...
Allows for a more apples to apples comparison between runtimes
2022-07-05 17:13:52 -07:00
Jarred Sumner
f5527c976e
Clean up some benchmarks
2022-07-05 00:54:42 -07:00