![]() ![]() ![]() Even if the only tool you know from it is to press Shift+ F to get a histogram, that's already extremely useful 1 - it took me less than a minute to go from not knowing anything about what syscalls the python interpreter used to seeing a histogram that confirmed some of our speculation. ![]() Many thanks to reader Mike Poirier for pointing me to VisiData. VisiData looks like a project to watch if youre a data worker. Press Shift+F to open the Frequency table. VisiData Documentation, Release 0.59 google-api-python-client (if opening Google Sheets mustalso set up OAuth credentials Remember to install the Python3 versions of these packages with e.g. VisiData does that, too, and adds percentage frequencies and a simple histogram: The default sorting is descending by count, but with a single keystroke (''). Overall, I've found VisiData to be a super valuable tool for quickly answering questions about datasets. Question How many of each Item were sold Move the cursor to the Item column. VisiData is a free, open-source tool that lets you quickly open, explore, summarize, and analyze datasets in your computer’s terminal. Step 1: Use vd to open a data file ¶ Download faa-wildlife-strikes. It makes sense that Ruby is around 10x slower to start up in this case than Python, since it's doing many more system calls. Here’s a three-step introduction to VisiData. I also did the same process for Ruby, just to see how similar it was: (After we were done with this, we used perf to get timing information, which seemed to confirm this hypothesis more) Once I've done that, I can press Shift+ F to get a histogram:įrom that we can see that stat and fstat make up around 28% of the syscalls by volume, which makes them a potentially reasonable target for optimization. That loads the data about which syscalls are being called (the cut command removes everything but the name of the syscall, so, for instance, all calls to stat look the same) into VisiData. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |