Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop fastparquet benchmark #321

Merged
merged 2 commits into from
May 7, 2022
Merged

Drop fastparquet benchmark #321

merged 2 commits into from
May 7, 2022

Conversation

jakirkham
Copy link
Member

Fixes #319

The array_decode_utf8 function has gone away in fastparquet version 0.6.0. So the FastParquetCodec created here no longer works. There doesn't seem to be a good alternative function to use in its place. Given this, go ahead and drop fastparquet from the benchmark.

TODO:

  • Unit tests and/or doctests in docstrings
  • tox -e py39 passes locally
  • Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • tox -e docs passes locally
  • GitHub Actions CI passes
  • Test coverage to 100% (Coveralls passes)

The `array_decode_utf8` function has gone away in `fastparquet` version
`0.6.0`. So the `FastParquetCodec` created here no longer works. There
doesn't seem to be a good alternative function to use in its place.
Given this, go ahead and drop `fastparquet` from the benchmark.
@martindurant
Copy link
Member

+1

Makes me wonder whether the old code was actually fast of not :)

@jakirkham
Copy link
Member Author

Well the numbers currently in there are from me rerunning today with 0.5.0 on Python 3.9. It seems pretty close to VLenUTF8 included in Numcodecs, which is doing a similar thing.

The results from when Alistair ran it were pretty similar as well.

@jakirkham jakirkham merged commit eacd6e2 into zarr-developers:master May 7, 2022
@jakirkham jakirkham deleted the drop_fp_bench branch May 7, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop/replace array_decode_utf8 from benchmark_vlen.ipynb
2 participants