8000 Cython eventseg by mjanderson09 · Pull Request #111 · brainiak/brainiak · GitHub
[go: up one dir, main page]

Skip to content

Cython eventseg - #111

Merged
mihaic merged 11 commits into
brainiak:masterfrom
mjanderson09:cython_eventseg
Oct 3, 2016
Merged

mihaic merged 11 commits into
brainiak:masterfrom
mjanderson09:cython_eventseg

Conversation

@mjanderson09
Copy link
Copy Markdown
Contributor

Added cython module for the _log function which speeds up examples/eventseg/simulated_data.py by 2.8X on my machine (Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz, Python 3.4.3 (default, Jan 26 2016, 02:25:35) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux)

time python3 simulated_data.py

Before:
real 0m10.687s
user 0m11.325s
sys 0m6.733s

After:
real 0m3.811s
user 0m4.466s
sys 0m6.722s

Michael Anderson added 4 commits September 22, 2016 18:33
Michael Anderson
< 8000 div class="pr-1 d-md-inline-block d-none">
@yidawang
Copy link
Copy Markdown
Member

Add the correspondingly compiled _utils.c file to .gitignore

@mihaic
mihaic commented Sep 29, 2016
Copy link
Copy Markdown
Member

Jenkins, retest this please.

Also, simplify pybind11 include dirs usage and remove cython and
pybind11 from the install dependencies.
Travis tests fail otherwise.
Travis tests fail otherwise.
@mihaic
mihaic commented Oct 3, 2016
Copy link
Copy Markdown
Member

@cbaldassano Could you please review this PR?

@cbaldassano cbaldassano left a comment
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, really impressed at how much of a difference this made!

mjanderson09 and others added 2 commits October 3, 2016 10:51
@mihaic
mihaic merged commit cf5d71b into brainiak:master Oct 3, 2016
@mjanderson09
mjanderson09 deleted the cython_eventseg branch April 26, 2017 17:43
danielsuo pushed a commit that referenced this pull request Nov 16, 2017
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.

4 participants

0