> ## Documentation Index
> Fetch the complete documentation index at: https://docs.basset.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# coreData.save

> Every Core Data save, what it wrote, how long it took, and whether it ran on the right thread

Watches `NSManagedObjectContext`'s save notifications. One reading per save,
whenever one happens.

| | |
| - | - |
| [Delivery](/instruments/metadata) | stream, onChange |
| Mechanism | notification |
| [Requires](/instruments/metadata) | iOS 17+, basset 0.1.1+ |

Real output from `basset request get`, captured against a running app:

```
CAPTURED                  ELAPSED  INSTRUMENT

launch 12169256562467388556
2026-08-23T14:56:02.499Z  +0.0s    storage.coreData.save(managedObjectContext)
├─ insertedCount       3
├─ updatedCount        0
├─ deletedCount        0
├─ totalNanoseconds    1229459
├─ contextConcurrency  privateQueue
└─ instanceId          3833062011
2026-08-23T14:56:02.501Z  +0.0s    storage.coreData.save(managedObjectContext)
├─ insertedCount       0
├─ updatedCount        1
├─ deletedCount        1
├─ totalNanoseconds    1143667
├─ contextConcurrency  privateQueue
└─ instanceId          3833062011
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.