cosmopolitan/third_party/quickjs
Justine Tunney 8a91518633 Fix issues revealed by ECMAScript test262
Cosmopolitan's QuickJS is now equally conformant and performant, with
the exception of Atomics, which have been disabled since Cosmopolitan
currently doesn't support pthreads.

QuickJS memory usage -- BigNum 2021-03-27 version, 64-bit, malloc limit: -1

NAME                    COUNT     SIZE
memory allocated          937   131764  (140.6 per block)
memory used               938   116103  (8 overhead, 16.7 average slack)
atoms                     513    21408  (41.7 per atom)
objects                   170    12279  (72.2 per object)
  properties              864    15531  (5.1 per object)
  shapes                   58    12995  (224.1 per shape)
bytecode functions         13     1512
  bytecode                 13      867  (66.7 per function)
C functions                99
arrays                      1
  fast arrays               1
  elements                  1       16  (1.0 per fast array)

Result: 35/74740 errors, 1279 excluded, 485 skipped, 19 new, 2 fixed

real    2m40.828s
user    2m29.764s
sys     0m10.939s
2021-04-10 17:15:35 -07:00
..
doc Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
examples Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
tests Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
Changelog Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
cutils.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
cutils.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libbf.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libbf.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libregexp.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode-table.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
libunicode.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
LICENSE Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
list.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
qjs.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
qjsc.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
qjscalc.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
quickjs-atom.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-libc.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
quickjs-libc.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs-opcode.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
quickjs.h Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
quickjs.mk Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
README.cosmo Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
readme.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
repl.js Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
run-test262.c Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
test262.conf Fix issues revealed by ECMAScript test262 2021-04-10 17:15:35 -07:00
test262_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o.conf Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
test262o_errors.txt Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
TODO Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
unicode_download.sh Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
unicode_gen.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
unicode_gen_def.inc Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00
VERSION Add quickjs-2021-03-27 to third_party 2021-04-08 20:55:43 -07:00
wut.c Get Fabrice Bellard's JavaScript engine to build 2021-04-09 01:06:57 -07:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.