time-estimation

Estimating when it's done in excel

烈酒焚心 提交于 2020-01-07 08:31:32
问题 Can I, somehow, based on time stamp and how much is done, estimate time and date for when a job is complete? I got this log that a bot I've made writes in column A time [yyy-mm-dd hh:mm], and in column B it wrights how much is done. It sorts it all with newest on top. 回答1: Gary's answer is correct, but for convenience if the 2nd row of data can be an arbitrary progress status (not just start of task = implicitly 0%), and if you use percentage number format (or decimals) and you would like to

Estimating zip size/creation time

醉酒当歌 提交于 2019-12-10 04:10:29
问题 I need to create ZIP archives on demand, using either Python zipfile module or unix command line utilities. Resources to be zipped are often > 1GB and not necessarily compression-friendly. How do I efficiently estimate its creation time / size? 回答1: Extract a bunch of small parts from the big file. Maybe 64 chunks of 64k each. Randomly selected. Concatenate the data, compress it, measure the time and the compression ratio. Since you've randomly selected parts of the file chances are that you

Calculate estimated time remaining

心已入冬 提交于 2019-12-08 03:33:24
问题 I made a script which installs several applications (Adobe Reader, Spotify, Microsoft Office, etc.). It's used after Windows installation. I would like to display estimated remaining time of current installation. The problem is it differs per computer. How to calculate remaining time using time taken to install previous applications, amount of applications in total and the count of already installed applications. Average wouldn't help since some applications install 10 seconds and other 5

Estimating zip size/creation time

巧了我就是萌 提交于 2019-12-05 05:16:38
I need to create ZIP archives on demand, using either Python zipfile module or unix command line utilities. Resources to be zipped are often > 1GB and not necessarily compression-friendly. How do I efficiently estimate its creation time / size? Extract a bunch of small parts from the big file. Maybe 64 chunks of 64k each. Randomly selected. Concatenate the data, compress it, measure the time and the compression ratio. Since you've randomly selected parts of the file chances are that you have compressed a representative subset of the data. Now all you have to do is to estimate the time for the

Estimating a project with many unknowns

馋奶兔 提交于 2019-12-01 14:55:15
I'm working on a project with many unknowns like moving the app from one platform to another. My original estimations are way off and there is no way I can really know for sure when this will end. How can i deal with the inability to estimate such a project. It's not that I'm adding a button to a screen or designing a web site, or creating and app or even fixing bugs. These are not methods with bugs, these are assumptions made in the overall code, which are not correct anymore and are found step by step and each analyzed and mitigated with many more unknowns. I happened to write a master

How to estimate SQL query timing?

感情迁移 提交于 2019-11-27 12:27:28
I'm trying to get an rough (order-of-magnitude) estimate of how long time the following query could take: mysql> EXPLAIN SELECT t1.col1, t1_col4 FROM t1 LEFT JOIN t2 ON t1.col1=t2.col1 WHERE col2=0 AND col3 IS NULL; +----+-------------+--------------------+------+---------------+------------+---------+-----------------------------+---------+--------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+--------------------+------+---------------+------------+---------+-----------------------------+---------+-------------

How to estimate SQL query timing?

狂风中的少年 提交于 2019-11-26 16:00:11
问题 I'm trying to get an rough (order-of-magnitude) estimate of how long time the following query could take: mysql> EXPLAIN SELECT t1.col1, t1_col4 FROM t1 LEFT JOIN t2 ON t1.col1=t2.col1 WHERE col2=0 AND col3 IS NULL; +----+-------------+--------------------+------+---------------+------------+---------+-----------------------------+---------+--------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-----------------