Title: implement Feather-based format for arrays · Issue #1016 · larray-project/larray · GitHub
Open Graph Title: implement Feather-based format for arrays · Issue #1016 · larray-project/larray
X Title: implement Feather-based format for arrays · Issue #1016 · larray-project/larray
Description: Old HDF format >>> %timeit Session('demo.h5') 2.09 s Faster/current HDF format >>> %timeit Session('demo_fast.h5') 1.25 s Pure Pandas This gives an approximate lower bound of what we could achieve via #724 -- maybe Pandas does a bit too ...
Open Graph Description: Old HDF format >>> %timeit Session('demo.h5') 2.09 s Faster/current HDF format >>> %timeit Session('demo_fast.h5') 1.25 s Pure Pandas This gives an approximate lower bound of what we could achieve ...
X Description: Old HDF format >>> %timeit Session('demo.h5') 2.09 s Faster/current HDF format >>> %timeit Session('demo_fast.h5') 1.25 s Pure Pandas This gives an approximate low...
Opengraph URL: https://github.com/larray-project/larray/issues/1016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"implement Feather-based format for arrays","articleBody":"### Old HDF format\r\n```python\r\n>>> %timeit Session('demo.h5')\r\n2.09 s\r\n```\r\n\r\n### Faster/current HDF format\r\n```python\r\n>>> %timeit Session('demo_fast.h5')\r\n1.25 s\r\n```\r\n\r\n### Pure Pandas \r\n\r\nThis gives an approximate lower bound of what we could achieve via #724 -- maybe Pandas does a bit too much but I doubt we would get below 500ms\r\n\r\n```python\r\n>>> import pandas as pd\r\n>>> sto = pd.HDFStore('demo_fast.h5')\r\n>>> %timeit {k: sto[k] for k in sto.keys()}\r\n781 ms\r\n```\r\n\r\n### My working proof of concept for a format based on Feather files & PyArrow\r\n\r\nThis is 8x as fast as the current best format and at least 3x as fast as what I **think** we could achieve using raw PyTables (as of now (*)).\r\n```python\r\n>>> %timeit Session('demo4.laf')\r\n152 ms\r\n>>> Session('demo4.laf').equals(Session('demo_fast.h5'))\r\nTrue\r\n```\r\n\r\n(*) There is some in-progress projet to use a new HDF mechanism in PyTables to provide (much) faster I/O but this still a WIP and there is no guarantee it will be completed & integrated \"soon\" (the project is supposed to end by the end of the year).\r\n\r\nhttps://groups.google.com/g/pytables-dev/c/8Y95Us1bJNo\r\n","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2022-09-13T11:45:21Z","url":"https://github.com/larray-project/larray/issues/1016"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0f0e9f1d-5242-2698-c6bf-7b8ea207eb19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C268:C5FC2:16DFF84:1E27B90:6B001F6C |
| html-safe-nonce | 23823afeeb932da1378c1fe721adce5d539a491be300c09cfc8b882a0d638b31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjY4OkM1RkMyOjE2REZGODQ6MUUyN0I5MDo2QjAwMUY2QyIsInZpc2l0b3JfaWQiOiI0MTk0MDQwOTAwNjg4NTUxNzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dd409270892ef77cdd42b27618c99fb5deb4e1857f68e9613cf89a5bac641faf |
| hovercard-subject-tag | issue:1371317529 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/larray-project/larray/1016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a73ccfc7ee82820dda5ee2d25996932a1b7b016103fb63becd608087302f99ab/larray-project/larray/issues/1016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a73ccfc7ee82820dda5ee2d25996932a1b7b016103fb63becd608087302f99ab/larray-project/larray/issues/1016 |
| og:image:alt | Old HDF format >>> %timeit Session('demo.h5') 2.09 s Faster/current HDF format >>> %timeit Session('demo_fast.h5') 1.25 s Pure Pandas This gives an approximate lower bound of what we could achieve ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width