qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.75k stars 3.92k forks source link

[Wishlist] Grouping torrents list by Completed On column/date #4146

Closed andrewpros closed 5 years ago

andrewpros commented 8 years ago

Hi.

Basically i would want the same thing as proposed here http://forum.utorrent.com/topic/101464-grouping-torrents-list-by-completed-on-columndate/

Image

Group torrents by completed on.

Looks great.

Danny3 commented 8 years ago

Wow, this is interesting What I like the most is the format of the date displayed in the "Completed on" column I find it more easy to read 2 hours ago or yesterday, than the full blown date

andrewpros commented 8 years ago

Yes, that is the point also, it quite simplifies actual date recognition.

chrishirst commented 8 years ago

They are known as "fuzzy dates" and take up a lot of resources when compared to displaying a simple Gregorian date, especially when translation to several other languages needs to be included in the application.

Danny3 commented 8 years ago

I've done some time ago a function in PHP to display the date like that and I don't remember taking too many resources. It's good to know that this format has a name, thanks

andrewpros commented 8 years ago

I'm also a programmer and those "fuzzy dates" don't take up a lot of resources, it is just a matter of simple function that converts normal date to fuzzy.

chrishirst commented 8 years ago

I've done some time ago a function in PHP to display the date like that and I don't remember taking too many resources.

PHP script on a server runs as a single instance in isolated memory space (a session), that is destroyed when the server instance is exited, therefore does not 'stack up' resource use, the comparison is invalid.

And I was referring to the number of instances of different dates that have to be calculated on each task list or properties panel refresh. While the additional memory overhead and CPU cycles may not be appreciable or significant for a few loaded tasks, when scaled up to several hundred or thousands of loaded tasks that have to be read and calculated every 1.5 seconds (or less), it ceases to be of 'minimal impact' on the host machine.

Also qbittorrent is 'marketed' as a "small footprint bittorrent client", a position, should you need reminding once held by uTorrent, before the BitTorrent inc. developers started incorporating 'features' such as this. If I can cut ~10% of memory and CPU use by NOT displaying 'speeds' that are below a certain threshold, < 50 bytes per second for me over 250 tasks, just imagine what 'fuzzy dates' are going to add.

andrewpros commented 8 years ago

They are not going to add anything, they just a simple representation of date AND of top of that, you wouldn't even be forced to use them.