[{"data":1,"prerenderedAt":221},["ShallowReactive",2],{"project-16193225":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":38,"post_text":40,"what":41,"said":51,"maker_in_thread":115,"shape":126,"grid":130,"attempts":176,"same_week":183,"maker_shows":212,"maker_hidden":213,"reader_version":214,"card":215},"16193225","Hyperfine","a command-line benchmarking tool","title","Show HN: Hyperfine – a command-line benchmarking tool","https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Fhyperfine","github.com","sharkdp",1516454310,2018,126,19,333,2155,16,"notable","dev_tools","benchmarking cli","cli",[24,25,26,27],"command line benchmark","benchmarking tool","wall clock time","process timing","curious",-0.059,{"positive":31,"neutral":32,"mixed":31,"critical":33},0,5,1,6,{"idea":36,"docs":37},{"positive":31,"critical":31},{"positive":31,"critical":33},[31,39,31,31,31,31,39,31,31,39,31,39,31,33,31,31,31,39,31],3,null,{"problem":42,"audience":40,"pricing":40,"motivation":40,"time_to_build":40,"stack":49,"openness":50,"stage":50,"team_size":50},{"value":43,"source":44,"evidence":45},"Timing commands with time gives single results; benchmarking needs averages over multiple runs","maker",[46],{"id":47,"by":11,"text":48},"16195326","Whenever you run 'time \u003Ccommand>' you could consider running 'hyperfine \u003Ccommand>' to get an answer that has been averaged over multiple runs. I personally use command-line…",[],"unknown",{"praise":52,"objections":61,"requests":69,"questions":91,"alternatives":99},[53],{"value":54,"source":55,"evidence":56},"Useful for analysing multiple runs","commenter",[57],{"id":58,"by":59,"text":60},"16194607","anfractuosity","Nice, that looks very handy especially the analysis of multiple runs. Just today I was playing with \u002Fproc\u002Fsys\u002Fvm\u002Fdrop_caches, I'd never used it before, it makes a massive…",[62],{"value":63,"source":55,"evidence":64},"Timing alone is not an effective benchmark without understanding what the program does",[65],{"id":66,"by":67,"text":68},"16197987","cthalupa","Nifty! Step up over just using time. Unfortunately, timing things in general isn't going to be a very effective benchmark. Without understanding what a program is doing, you…",[70,77,84],{"value":71,"source":55,"evidence":72},"Interleave execution of multiple commands",[73],{"id":74,"by":75,"text":76},"16195931","CyberShadow","When given multiple commands, can it interleave executions instead of benchmarking them one after the other? This would be useful when comparing two similar commands, as…",{"value":78,"source":55,"evidence":79},"Non-TTY\u002Fno-color mode for CI",[80],{"id":81,"by":82,"text":83},"16194570","jitl","This looks excellent. Does it have a non-TTY\u002Fno—color mode that I could use in a CI environment?",{"value":85,"source":55,"evidence":86},"Measure metrics beyond time, such as dtrace-based",[87],{"id":88,"by":89,"text":90},"16195046","peterhajas","Looks cool! Could it use dtrace to measure other metrics besides time?",[92],{"value":93,"source":55,"evidence":94},"Use case for command line benchmarking",[95],{"id":96,"by":97,"text":98},"16195111","sushido","What is a use case for command line benchmarking?",[100,104,108],{"value":101,"source":55,"evidence":102},"time",[103],{"id":66,"by":67,"text":68},{"value":105,"source":55,"evidence":106},"dtrace",[107],{"id":88,"by":89,"text":90},{"value":109,"source":55,"evidence":110},"rt-tests",[111],{"id":112,"by":113,"text":114},"16195843","snvzz","Tangentially related, look into rt-tests (from linux-rt) for scheduler latency tests. See: https:\u002F\u002Fwiki.archlinux.org\u002Findex.php\u002FRealtime_kernel The effect of the linux-rt…",{"comments":34,"answered":32,"key":116},[117,120,123],{"id":118,"text":119},"16194656","Thank you for the feedback! Yes, having a \"cold\" or a \"warm\" disk cache makes a massive difference for I\u002FO-heavy programs. For one of my other programs, I differentiate between…",{"id":121,"text":122},"16198723","Great suggestion! I have opened a ticket here: https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Fhyperfine\u002Fissues\u002F21",{"id":124,"text":125},"16194642","Thank you for the feedback! Not yet, but I've just created a ticket here: https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Fhyperfine\u002Fissues\u002F20 Should be easy to implement.",{"commenters":127,"max_depth":32,"maker_replies":34,"first_comment_mins":128,"lifespan_hours":129},12,304,48,[131,133,135,137,141,143,146,149,151,153,155,156,157,159,163,167,170,173,174],[66,31,31,132,67,31],"other\u002Fcritical\u002Fidea",[58,33,39,134,59,31],"project\u002Fneutral\u002Fnone",[118,33,31,136,11,33],"maker\u002Fneutral\u002Fnone",[138,33,31,139,140,31],"16195110","other\u002Fneutral\u002Fprivacy","mynewtb",[142,33,31,139,59,31],"16195262",[144,33,31,139,145,31],"16195270","gtirloni",[74,147,39,148,75,31],2,"project\u002Fneutral\u002Fidea",[121,147,31,150,11,33],"maker\u002Fpositive\u002Fidea",[112,39,31,152,113,31],"other\u002Fneutral\u002Fnone",[81,154,39,148,82,31],4,[124,154,31,136,11,33],[96,32,39,148,97,31],[47,32,31,158,11,33],"maker\u002Fneutral\u002Fidea",[160,32,33,161,162,31],"16195915","project\u002Fcritical\u002Fdocs","Dowwie",[164,32,31,165,166,31],"16196885","commenter\u002Fneutral\u002Fdocs","asicsp",[168,32,31,169,162,31],"16204015","commenter\u002Fpositive\u002Fdocs",[171,32,31,172,11,33],"16198743","maker\u002Fneutral\u002Fdocs",[88,34,39,148,89,31],[175,34,31,158,11,33],"16195350",[177,178],{"id":4,"t":12,"points":14,"comments":15},{"id":179,"t":180,"points":181,"comments":182},"21240641",1570978212,96,25,[184,189,194,198,203,207],{"id":185,"name":186,"points":187,"category":188},"16216960","eliotand.me",644,"web_saas",{"id":190,"name":191,"points":192,"category":193},"16223929","RetroClip",309,"creative",{"id":195,"name":196,"points":197,"category":193},"16211516","Paper Programs",235,{"id":199,"name":200,"points":201,"category":202},"16212689","Crypto News Agency",183,"finance_crypto",{"id":204,"name":205,"points":206,"category":202},"16225383","PonziCoin",182,{"id":208,"name":209,"points":210,"category":211},"16197808","surviv.io",163,"games",13,false,"v2",{"id":216,"name":5,"line":6,"ai":213,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":217,"top":18,"kw":218,"maker":11,"domain":10,"tier":19,"attempts":147,"strip":219,"url":9,"mix":220,"praise":54,"objection":63,"sub":21},16193225,-0.06,[24,25,26,27],"0300003003030100030",[31,32,31,33],1794036562707]