单行数据
{\"routing\":\"ac235f5e3163a02826203f66aba16ea5\",\"resCategory\":\"port_info\",\"ip\":\"144.35.64.66\",\"portInfo\":{\"bannerList\":[{\"reqName\":\"http_index\",\"banner\":\"\",\"encoding\":\"\",\"decodeBanner\":\"\"}],\"port\":83,\"status\":false},\"lastModified\":1570082965937,\"id\":\"0e8f79ed768eddf92f1a9b26e153bb6f\",\"taskId\":\"vss_2019_09_http_83\",\"relation\":{\"name\":\"portInfo\"},\"extraInfo\":{\"ipid\":57568,\"window\":0,\"scanType\":\"synack\",\"ttl\":241},\"deviceLocation\":{\"owner\":\"slcc.edu\",\"country\":\"United States\",\"coordinate\":{\"lon\":-111.930717,\"lat\":40.777561},\"city\":\"Salt Lake City\",\"timezone\":\"America下边是每十万行打印一次,时间单位为毫秒。前五千万行,基本上速度是十万行 300多毫秒
将近十倍的降速!
二十倍的时间花费
向一个文件写数据,不要写太多行。我这个数据只鉴于上边的示例数据,单行数据大小变化可能有不一样的效果。
至于是为什么:待我研究一下linux再讲吧。