()
| 53 | print("Doc validation: %.3fus" % (timeit(b.validate, 1000) * 10**6)) |
| 54 | |
| 55 | def save_book(): |
| 56 | b._mark_as_changed("name") |
| 57 | b._mark_as_changed("tags") |
| 58 | b.save() |
| 59 | |
| 60 | print("Save to database: %.3fus" % (timeit(save_book, 100) * 10**6)) |
| 61 |
nothing calls this directly
no test coverage detected