Giter Club home page Giter Club logo

Comments (9)

eteq avatar eteq commented on June 4, 2024 1

Some possible tools to throw into the discussion if time allows:

Would love a session on profiling mixed C/python code, though! I tend to do the simplest thing of building quick-and-dirty Cython wrappers in a notebook and using the %%time cell magic. But there must be better tools out there that leverage C profiling tools. Might be a separate topic you could add if we don't get to it for this one, @drdavella?

from braindump.

drdavella avatar drdavella commented on June 4, 2024

Maybe this would be a good opportunity to talk about tools for C analysis and instrumentation like valgrind and various sanitizers? And maybe gdb?

from braindump.

jdavies-st avatar jdavies-st commented on June 4, 2024

I assume this would let me learn more about profilers? If so, you have my vote.

from braindump.

jhunkeler avatar jhunkeler commented on June 4, 2024

If you demo gdb make sure you have https://github.com/gdbinit/Gdbinit installed.
Everyone will "oooo" and "ahhh".

from braindump.

pllim avatar pllim commented on June 4, 2024

@drdavella -- Using valgrind with Python does not seem to be straightforward (see https://code.google.com/archive/p/distnumpy/wikis/valgrind.wiki). If you have any tips on this, let us know!

from braindump.

drdavella avatar drdavella commented on June 4, 2024

No, I don't have a lot of experience with that, just with pure C code. I wasn't sure whether Spec2Pipeline was pure C or Python extension code. I could look into this kind of thing more though.

from braindump.

hbushouse avatar hbushouse commented on June 4, 2024

Spec2Pipeline is pure python.

from braindump.

drdavella avatar drdavella commented on June 4, 2024

Yikes!

from braindump.

pllim avatar pllim commented on June 4, 2024

Thought we did that.

from braindump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.