@@ -53,12 +53,24 @@ def time_read_json_lines(self, index):
53
53
def time_read_json_lines_concat (self , index ):
54
54
concat (read_json (self .fname , orient = "records" , lines = True , chunksize = 25000 ))
55
55
56
+ def time_read_json_lines_nrows (self , index ):
57
+ read_json (self .fname , orient = "records" , lines = True , nrows = 15000 )
58
+
59
+ def time_read_json_lines_nrows_larger (self , index ):
60
+ read_json (self .fname , orient = "records" , lines = True , nrows = 45000 )
61
+
56
62
def peakmem_read_json_lines (self , index ):
57
63
read_json (self .fname , orient = "records" , lines = True )
58
64
59
65
def peakmem_read_json_lines_concat (self , index ):
60
66
concat (read_json (self .fname , orient = "records" , lines = True , chunksize = 25000 ))
61
67
68
+ def peakmem_read_json_lines_nrows (self , index ):
69
+ read_json (self .fname , orient = "records" , lines = True , nrows = 15000 )
70
+
71
+ def peakmem_read_json_lines_nrows_larger (self , index ):
72
+ read_json (self .fname , orient = "records" , lines = True , nrows = 45000 )
73
+
62
74
63
75
class ToJSON (BaseIO ):
64
76
0 commit comments