stampa il tempo parziale

This commit is contained in:
Michele Fadda 2015-07-21 13:35:39 +02:00
parent bcf786f392
commit dc2e4988be

View file

@ -174,7 +174,7 @@ func main() {
}
}
fmt.Println(ys, ye)
// fmt.Println(ys, ye)
for i := range ys {
q := opts.ll.Find(bson.M{"date": bson.M{"$gte": ys[i], "$lte": ye[i]}}).Sort("user")
@ -221,6 +221,7 @@ func main() {
log.Println("Insert error: ", err)
}
}
fmt.Printf("Stop %s: %s\n", ys[i], time.Since(start))
}
fmt.Println("Stop: ", time.Since(start))