Skip to content

Conversation

jbrockmendel
Copy link
Member

Surprisingly big difference here

from asv_bench.benchmarks.frame_ctor import *
self3 = FromNDArray()
self3.setup()

%timeit self3.time_frame_from_ndarray()
19.8 µs ± 405 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)  # <- PR
30.9 µs ± 1.38 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)  # <- master

@jbrockmendel jbrockmendel added the Performance Memory or execution speed performance label Sep 17, 2021
@jreback jreback added this to the 1.4 milestone Sep 17, 2021
@jreback jreback merged commit 44f5d69 into pandas-dev:master Sep 17, 2021
@jbrockmendel jbrockmendel deleted the perf-from_ndarray branch September 17, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants