Because when running the code below, it seems that Stata takes a long time to run it, so I want to test which is the size of the sample that Stata can handle well. So, I want to test the code with the first N observation (e.g: 10,000. 20,000...)
what should I input into the code to deal with it?

Code:
 
 did2s l_homicide [aweight=popwt], first_stage(i.sid i.year) second_stage(i.post) treatment(post) cluster(sid)
Thanks and warm regards.