Giter Club home page Giter Club logo

Comments (2)

Stratus3D avatar Stratus3D commented on August 24, 2024

@Zabrane currently eflambe:capture/3 is block call that waits for something else running on your Erlang node to invoke the lists:seq/2 function. The third element in the tuple for the first argument needs to be the arity, not the arguments themselves. The correct arguments to this function would be:

> eflambe:capture({lists, seq, 2}, 1, [{open, speedscope}]).

However, if you just want to profile lists:seq/2 directly, you can use the eflambe:apply/2 function, and pass in the arguments:

> eflambe:apply({lists, seq, [1, 10]}, [{open, speedscope}]).
Successful finished trace
Output filename: ./1642802698322929-eflambe-output.bggg
[1,2,3,4,5,6,7,8,9,10]

I am going to commit a fix so the third element in the module function arity tuple is validated to be an integer to catch invalid calls.

Hope this helps! Let me know if you have any other issues or suggestions.

from eflambe.

Zabrane avatar Zabrane commented on August 24, 2024

@Stratus3D amazing, thanks for the clarifications.

from eflambe.

Related Issues (13)

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.