{"repo":"Appliscale/xprof","free":true,"listed":false,"github":"https://github.com/Appliscale/xprof","clone":"git clone https://github.com/Appliscale/xprof.git","description":"A visual tracer and profiler for Erlang and Elixir.","language":"Erlang","stars":281,"topics":["erlang","elixir","tool","tracking","profiling","tracing","erlang-otp","erlang-vm","hex","capture"],"license":null,"category":"analytics","readme_excerpt":"XProf ===== XProf is a visual tracer and profiler that allows you to track execution of Elixir / Erlang functions in real-time. Goal XProf was originally created to help solving performance problems of live, highly concurrent and utilized back-end systems. It's often the case that high latency or big CPU usage is caused by very specific requests that are triggering inefficient code. Finding this code is usually pretty difficult. In this original usage one would first inspect execution time statistics to get an overview of the system. Then capture arguments and results (return value or exception) of function calls that lasted longer than given number of milliseconds. With the introduction of xprof-commands via an extended query syntax in 2.0 more versatile stats, filters and other features became available. How does it look like Click the image below to watch a short demo investigating the TryMe application with XProf. The function nap sometimes takes way too much time (as you would guess from the name, it takes a bit of sleep). In the video we: - observe call count and duration percentiles - capture arguments and return values of a few long calls - apply a match spec to filter out \"long\" calls - compare two functions How to use it 1. Add xprof to your build tool config file (and optionally also to the release config file such as reltool.config in order to include it in your release). 2. Build your project. 3. Start xprof by executing xprof:start(). in Erlang shell, or :xprof.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Appliscale","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Appliscale/xprof/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}