Coder Social home page Coder Social logo

Comments (2)

ralf0131 avatar ralf0131 commented on May 19, 2024

What kind of input and output do you expect to have? Could you give an example?

from arthas.

Hearen avatar Hearen commented on May 19, 2024

目前trace可以看到耗时,watch能看到入参和出参,希望有个命令即能够看到入参出参,同时能看到耗时?这样可以更方便的定位到底是因为什么参数导致比较慢?

Do you mean something like this:

$ watch -n 3 *Demo addTwoLists "params" -b
Press Ctrl+C to abort.
Affect(class-cnt:1 , method-cnt:1) cost in 216 ms.
ts=2018-10-13 11:08:04; [cost=0.659591ms] result=@Object[][
    @ArrayList[isEmpty=false;size=2],
    @ArrayList[isEmpty=false;size=2],
]
ts=2018-10-13 11:08:04; [cost=0.008653ms] result=@Object[][
    @ArrayList[isEmpty=false;size=2],
    @ArrayList[isEmpty=false;size=2],
]
ts=2018-10-13 11:08:04; [cost=0.010443ms] result=@Object[][
    @ArrayList[isEmpty=false;size=2],
    @ArrayList[isEmpty=false;size=2],
]

Added in #227

from arthas.

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.