I had a vented, rather cheap, and simple, it had a timer, and a selection of 1 kW or 2 kW, that was it, it would trip out on overheat at 2 kW with the slightest kink in the pipe, so it was used for most of its life on the 1 kW setting, in the main 90 minutes would dry the clothes, if not then would give it a little bit longer.
However, moving into new house, no hole bored in wall, so window left open, we got some black mould as a result, clearly the room was cold, but not heated anyway, but we decided rather than bore a new hole in the wall, we would bite the bullet and get a heat pump drier.
So it took 180 minutes, twice the time of the vented, it would dry more per load, and used about half the power of the vented, but at double the drying time, there was little gain running cost wise at first glance, however in spite of the Utility room not being heated, we found the kitchen got warmer even when drier was not in the kitchen, and the black mould went, lasted around 6 months, and it failed, got a replacement under warrantee and that one seems to be OK.
Main gain was built in timer, so can use off-peak at night, but the use in the day not so good, as working out when we would get 180 minutes of sun shine so powered by excess solar not so easy, the unit has a host of programs, and it is hard to know which is best for general washing, and the power use not so easy to work out, as the heat pump starts a mark/space ratio to maintain the heat required, and the clothes seem to come out with fewer creases.
The small pipe which allows it to dump the water in the same waste as the washing machine, means it is located where we want it, not fixed by the vented exhaust.
All in all, yes, the heat pump has been better than the vented, but not by a huge margin. Had the hole been already bored, when the first one failed, would have likely returned to vented. The main problem is selecting when to run the machine, mainly it is state of charge of the solar inverters battery

each day I have 5 hours at off-peak at 8.95 p per kWh, then the battery starts to discharge, around 9:30 am on a good day shown here, the solar starts to come in, and by 11:45 the battery is full again, but by 16:15 the solar starts to reduce, and one wants to ensure the washing machine, tumble drier and dishwasher are all finished by then.
The shorter time of a vented drier and higher power use, means the 2.3 kWh I exported on the 3rd of Feb could have well been less.
So it is not just how much power is used, but when the power is used, today

I am sure I will run out of battery before midnight (10% held back for UPS power to central heating).
I am undecided as to if the heat pump drier saves money, the other condenser driers don't have the option of using a lower heat, and since my utility room is so small, it would get too hot. The vented also it depends on how dry the air in the room is.