# Filtering is still done client side:
worker17 (20 cpus, 64Gib ram, tmpfs):
```
swhworker@worker17:~$ time SWH_CONFIG_FILENAME=/etc/softwareheritage/loader_oneshot.yml swh loader run mercurial_from_disk https://foss.heptapod.net/mercurial/tortoisehg/thg
INFO:swh.loader.mercurial.LoaderFromDisk:Load origin 'https://foss.heptapod.net/mercurial/tortoisehg/thg' with type 'hg'
requesting all changes
adding changesets
adding manifests
adding file changes
added 19929 changesets with 32270 changes to 1595 files
new changesets bac32db38e52:0a83dac8c779
{'status': 'eventful'}
real 12m11.504s
user 8m43.197s
sys 0m33.806s
```
snapshot:
```
15:55:47 softwareheritage@belvedere:5432=> select * from origin o inner join origin_visit_status ovs on o.id=ovs.origin where o.url = 'https://foss.heptapod.net/mercurial/tortoisehg/thg' and ovs.type='hg' order by date desc;
+-----------+----------------------------------------------------+-----------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
| id | url | origin | visit | date | status | metadata | snapshot | type |
+-----------+----------------------------------------------------+-----------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
| 163616646 | https://foss.heptapod.net/mercurial/tortoisehg/thg | 163616646 | 1 | 2021-09-16 13:56:00.958435+00 | full | (null) | \xa2cd5ce3505f3b8bd7311455d0d200f7c5ad6294 | hg |
| 163616646 | https://foss.heptapod.net/mercurial/tortoisehg/thg | 163616646 | 1 | 2021-09-16 13:43:59.915896+00 | created | (null) | (null) | hg |
+-----------+----------------------------------------------------+-----------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
```
worker.staging (4cpus, 12Gib ram, /tmp on disk):
```
(ve) swhworker@worker0:~/swh-loader-mercurial$ time swh loader run mercurial_from_disk https://foss.heptapod.net/mercurial/tortoisehg/thg
INFO:swh.loader.mercurial.LoaderFromDisk:Load origin 'https://foss.heptapod.net/mercurial/tortoisehg/thg' with type 'hg'
requesting all changes
adding changesets
adding manifests
adding file changes
added 19929 changesets with 32270 changes to 1595 files
new changesets bac32db38e52:0a83dac8c779
INFO:swh.loader.mercurial.LoaderFromDisk:New revisions found: 19929
{'status': 'eventful'}
real 8m47.374s
user 6m17.912s
sys 0m7.192s
```
snapshot:
```
15:55:29 swh@db1:5432=> select * from origin o inner join origin_visit_status ovs on o.id=ovs.origin where o.url = 'https://foss.heptapod.net/mercurial/tortoisehg/thg' and ovs.type='hg' order by date desc limit 2;
+--------+----------------------------------------------------+--------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
| id | url | origin | visit | date | status | metadata | snapshot | type |
+--------+----------------------------------------------------+--------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
| 693991 | https://foss.heptapod.net/mercurial/tortoisehg/thg | 693991 | 4 | 2021-09-16 13:54:09.596121+00 | full | (null) | \xa2cd5ce3505f3b8bd7311455d0d200f7c5ad6294 | hg |
| 693991 | https://foss.heptapod.net/mercurial/tortoisehg/thg | 693991 | 4 | 2021-09-16 13:45:25.397994+00 | created | (null) | (null) | hg |
+--------+----------------------------------------------------+--------+-------+-------------------------------+---------+----------+--------------------------------------------+------+
```