Commit Graph

26 Commits

Author SHA1 Message Date
jfh
6ce591d90c Use as_object in benchmark locals. 2021-10-19 16:50:27 +03:00
Steve Shi
723357962a Refactor list avoid duplicate the vec (#3241)
* list count bench
* Refactor list count avoid duplicate the vec
* optimize list count with HEAPTYPE flag
* introduce generic safe iter functions for list
* Refactor list functions (contains, index, remove)
* Refactor list iter functions with const generics
* optimize list with richcompare
* optimize list iter_equal
2021-10-16 13:16:45 +09:00
Jeong YunWon
a42d547a3f new_{utf8_str, ascii_literal} -> new_str again 2021-10-11 21:28:14 +09:00
Jeong YunWon
741cfea565 vm.ctx.new_int returns PyInt 2021-10-11 01:05:38 +09:00
Jeong YunWon
44f7bc468a vm::utils::ascii! -> common::ascii! 2021-09-28 15:47:54 +09:00
Jeong YunWon
5fab0771ae expose ascii! macro as pub 2021-09-26 12:27:03 +09:00
Jeong YunWon
795738d32b ascii! macro 2021-09-21 18:14:42 +09:00
Jeong YunWon
7395959f5f Fix PyStr operations to be safe 2021-09-21 00:32:26 +09:00
Jeong YunWon
48dc5c96b6 PyStrKind 2021-09-16 03:35:44 +09:00
Noah
99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
Noah
db6fa17ffe Don't recompile CPython microbenchmarks every time 2021-04-05 09:49:16 -05:00
Noah
3c9bcf3a5e Don't recompile cpython code at each run 2021-03-21 21:23:54 -05:00
Noah
66ae84981b Fix cpython microbenchmarks failing 2021-03-21 20:43:44 -05:00
Noah
f1f7e8d1fb Level the playing field for the parse_to_ast benchmarks 2021-03-19 21:47:28 -05:00
Noah
b221dbb5d6 Allow running pystone standalone 2020-12-13 17:22:16 -06:00
Tom Forbes
7818fd2083 Fix micro benchmarks 2020-12-13 20:36:11 +00:00
Tom Forbes
dde8af14f4 Add microbenchmarks 2020-12-13 17:06:21 +00:00
Tom Forbes
bfd05eee24 Switch benchmarkid 2020-12-11 17:51:16 +00:00
Tom Forbes
c447ffd759 Fix loading 2020-12-11 17:25:28 +00:00
Tom Forbes
1e4fc5c70f fmt 2020-12-11 15:53:14 +00:00
Tom Forbes
a605b93d0f Improve benchmarks 2020-12-11 15:51:21 +00:00
Tom Forbes
9f04f377cd Fix strings 2020-12-11 11:40:22 +00:00
Tom Forbes
184f9aa59c Switch to 500 2020-12-11 00:32:39 +00:00
Tom Forbes
6a841c07f1 Remove pystone second run 2020-12-11 00:31:42 +00:00
Tom Forbes
a788df4eaf Reduce to 30k 2020-12-11 00:30:45 +00:00
Tom Forbes
5788e7bf8e Refactor benchmarking suite to use Criterion 2020-12-11 00:28:22 +00:00