Commit Graph

58 Commits

Author SHA1 Message Date
Christian Clauss 57f36ac6f8
Ruff is now compatible with Python pattern matching (#3650) 2023-03-13 22:45:06 +01:00
Roman Yurchak 48258ff146
Replace isort, flake8, pycln and pyupgrade by ruff (#3522)
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
2023-02-07 08:35:20 +09:00
Hood Chatham 3b2952fc92
Python3.11 (#3252) 2023-01-23 19:45:59 -08:00
Gyeongjae Choi 7f19a457e9
Disable matplotlib benchmark temporarily (#3205) 2022-10-28 11:39:16 +02:00
Roman Yurchak 4bbe60f8d3
Use matplotlib backends from matplotlib-pyodide (#3061) 2022-09-09 13:39:26 +02:00
Roman Yurchak f3ba7865b2
Run core tests in Safari (#2578)
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2022-09-08 10:43:55 +09:00
Gyeongjae Choi 512d2bd950
MAINT Rename pytest_pyodide wrappers 2022-08-03 13:34:25 +09:00
Roman Yurchak c85e00806b
MAINT Switch to pytest-pyodide (#2893)
Co-authored-by: ryanking13 <def6488@gmail.com>
2022-07-31 19:00:45 +09:00
Gyeongjae Choi 7d7b7e899d
TST Make `pyodide-test-runner` installable (#2742) 2022-07-04 09:07:01 +02:00
Gyeongjae Choi 74a89826ce
TST Add Playwright for an auxiliary testing framework (#2091) 2022-05-31 08:17:47 +09:00
Gyeongjae Choi b20b43bd66
MAINT Split conftest.py into modules (#2418) 2022-05-08 16:52:08 +09:00
Will Lachance 505cf714c1
Add some basic benchmarks for pandas (#2474) 2022-05-04 14:17:16 -06:00
Will Lachance fd0b652482
Benchmark load times for pandas and matplotlib too (#2465) 2022-05-03 12:10:00 -06:00
Gyeongjae Choi d24d656f0f
MAINT Reduce CI failures (#2409) 2022-04-20 09:50:33 +02:00
Hood Chatham 50af355e8c
Rename 'build' directory to 'dist' (#2387)
dist is both more accurate (the 'build' directory is normally where you do the build,
and normally consists of intermediate build artifacts no one cares about). dist also
occurs less frequently in the code base: after this change \bbuild\b has 466 matches,
whereas \bdist\b has 101 matches. build has 1072 matches whereas dist has 362.
2022-04-11 16:01:40 -07:00
Henry Schreiner 4f8b0a0344
chore: more pre-commit checking (#2257) 2022-03-07 21:51:20 -08:00
Gyeongjae Choi fd8433a013
MAINT Refactor benchmark script (#2227)
One can select which benchmark (pystone, numpy, matplotlib, or all) to be run through command-line arguments.
We can divide each benchmark to separate CI jobs in the future if needed.
Moved pystone benchmark to benchmark directory, preventing it from being included in Pyodide release.
2022-03-02 10:11:36 -08:00
Henry Schreiner 8d00451142
chore: enable the rest of flake8 & bugbear (#2216) 2022-02-27 12:39:53 -05:00
Madhur Tandon 869b1bb0c3
benchmark html5 canvas renderer (#2151)
* benchmark html5 canvas renderer

* adhere to lint

* rectify condition

* increase timeout

* do suggested changes

* adhere to lint

* use correct backend for benchmarks

* reintroduce tests + fix futures callback

* adhere to lint

* increase timeout for tests

* use selenium_standalone for tests

* increase timeout for check_comparison

* add result() to Future

* add debugging print statement

* adhere to lint

* use draw() instead of draw_idle()

* add new reference image for math text

* return NaN for non-native

* replace math text image for chrome as well

* increase timeout

* selenium standalone for benchmarks

* only matplotlib benchmarks

* re-enable benchmarks for numpy

* adhere to lint

* increase timeout
2022-02-24 18:51:24 +09:00
Henry Schreiner 66856a7427
MAINT isort (#2200) 2022-02-21 23:27:03 +01:00
Henry Schreiner ed22c06e07
chore: pyupgrade 3.9+ (#2195) 2022-02-20 17:13:37 -05:00
Gyeongjae Choi 950c1dcbd2
CI Update to newer docker image (#2160) 2022-02-10 09:36:18 +01:00
Hood Chatham fdd1aa1c75
Update path for pystone import for native benchmark (#1941) 2021-11-10 09:57:35 +01:00
Hood Chatham 3e3d6eb8a9
ENH Support PyErr_CheckSignals interrupts (#1294) 2021-09-26 11:53:46 -07:00
Hood Chatham 9509c67d6f
MAINT Add current recursion limit to benchmark-stack printout (#1737) 2021-07-22 22:18:30 -07:00
Hood Chatham b2291f8f9d
Fix stack usage benchmark in node (#1734) 2021-07-21 22:30:34 -07:00
Hood Chatham 7e180cc8a2
Add stack usage benchmark (#1698) 2021-07-09 13:37:28 -07:00
Hood Chatham ab1b6c8d24
MAINT Use prettier to format javascript (#1554)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-05-01 10:17:32 -07:00
Dexter Chua 4de39e3617
Run benchmarks in alphabetical order (#1178)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-01-30 13:58:34 +01:00
Dexter Chua 0defcb3825
BLD Don't compile host python (#830) 2020-12-08 00:19:16 +01:00
Roman Yurchak a84ecd31f6
Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
Roman Yurchak 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +02:00
Roman Yurchak 53235e28b7
MNT Don't benchmark scipy load time (#699) 2020-06-27 12:24:28 +02:00
jcaesar 9c91707994
Dockerfile: add swig, pytest-rerunfailures (#659)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-06 00:30:43 +02:00
Roman Yurchak a9f7f266fb MAINT Refactor benchmark script (#472)
* Refactor benchmark

* Review comments

* Fix CI

* Make sure numpy is loaded
2019-07-01 08:38:18 -04:00
Michael Droettboom 1b031347a3 Build the _decimal C module 2019-02-25 11:29:59 -05:00
Roman Yurchak defc24c442 Lint 2018-11-15 13:24:27 +01:00
Michael Droettboom 6d76f25bd7 Make `make benchmark` work again 2018-10-08 13:24:25 -04:00
Michael Droettboom c504180fc4
Merge pull request #209 from rth/benchmark-impr
A few impovements to benchmarks
2018-10-08 13:17:43 -04:00
Roman Yurchak df21231810 Monkeypatch selenium with a fix against ConnectionError 2018-10-04 14:30:35 +02:00
Roman Yurchak 372cc96865 Autopep8 on all benchmarks 2018-10-03 21:48:43 +02:00
Roman Yurchak ffe5134623 Explicitly define the fft function 2018-10-03 16:57:11 +02:00
Roman Yurchak 59e8bd4d5f Clean up and improve some benchmarks 2018-10-03 14:38:48 +02:00
Roman Yurchak 93c4de6e7c Fix conftest.py for benchmarks 2018-10-03 14:38:27 +02:00
Roman Yurchak 95379aa043
Merge pull request #202 from mdboom/fix-benchmarks
Fix benchmarks in light of recent changes
2018-10-03 12:02:02 +02:00
Michael Droettboom b878b12fda Skip README benchmark 2018-10-02 16:11:35 -04:00
Michael Droettboom 517369452b Fix benchmark search path 2018-10-02 14:56:14 -04:00
Michael Droettboom 6536e5a07c Lint all the things 2018-10-01 19:11:38 -04:00
Michael Droettboom a685f18f0e Fix benchmarks in light of recent changes 2018-10-01 18:54:31 -04:00
Michael Droettboom fa23049e0c Minor fixups from pull request 2018-08-06 10:01:28 -04:00