Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108041
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Fastest way to retrieve and write html contents to file |
| Date | Tue, 3 May 2016 12:00:23 +1000 |
| Lines | 22 |
| Message-ID | <mailman.333.1462240826.32212.python-list@python.org> (permalink) |
| References | <ng6jie$1ap$1@dont-email.me> <85vb2xgj2i.fsf@benfinney.id.au> <mailman.298.1462164614.32212.python-list@python.org> <ng6mn7$8nv$1@dont-email.me> <5726ee33$0$1617$c3e8da3$5496439d@news.astraweb.com> <ng6sul$o85$1@dont-email.me> <CAPTjJmqO3jMMi57EZEAhFDD3OMbAeG9XVat2aAX529kEbpA7JQ@mail.gmail.com> <mailman.311.1462173544.32212.python-list@python.org> <ng900j$fu2$1@dont-email.me> <CAPTjJmqksOHbcRyPjDTg8b0pV-8npOdYK+53JDXTYYt3qV+gug@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de b+GkJL/ZK5P/HzOCkpwdRg7prv5TgGu4lmcSDIKA76Xw== |
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'linear': 0.07; 'subject:file': 0.07; 'cc:addr:python-list': 0.09; 'loop.': 0.09; '2016': 0.16; 'caching': 0.16; 'count;': 0.16; 'dfs': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iteration': 0.16; 'loops': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'seconds,': 0.16; 'wrote:': 0.16; 'obviously': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'bit': 0.23; 'finished': 0.23; 'second': 0.24; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; 'seconds': 0.31; 'tue,': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'times.': 0.38; "won't": 0.38; 'received:209': 0.38; 'test': 0.39; 'your': 0.60; 'close': 0.61; '100': 0.79; 'chrisa': 0.84; 'subject:write': 0.84; 'to:none': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=P0SFFaVZz/V9BSRWwt66+7DCDvR9cq/caHq6CrMiKDc=; b=zZ4blUjFClx9hwgyDcg6pd/Uq6INum27rXrxKKNx+pudLbbJbCyx8vd6zocY5v6eGE WDzpWr93zwgF+jhg931Xj0dsLy1K776ctQfxb8G5L9qQgCdX73knDg0YagesU/hTe+9H WyO1ZFdTRh+bwGuVapk8VETEAJ2EiLbjWKHo3YvV5ttJ+Xlw3UoZbuwpI+HbyZFliVfV j1vGOuU8WGOSxODwlMPyEAlWPPVn5g+PBsCN6iHR6Dme7aB5qdXKMcqO7qp4I+jAV0jZ wfcet5BhZ2sHu3WEKT6Igy25IkJyKYLywA06Rde0+gv4BqpFbYFAAnPLMWNIfu5EiuFk ubIw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=P0SFFaVZz/V9BSRWwt66+7DCDvR9cq/caHq6CrMiKDc=; b=FfeXlSCF/4bbxgXxHjqQWELIThDQWkA0nqJ0DcIArNUgazyb1OM6+gx7LtNbXYtWe2 boDXbz+MmYpoRsgvroBd8Bqk73al4Tb1RNlRw4QoTuvG6HyzPq09YmtTO/L+cPP8Utgu aiZ+Ka03VHuyiezB5x/8hAICOzkqcvl+DpAifxsao7LDKFs4WhexbOg41Z0Ibv7kwcA3 PB7vlgCbbJAzhM8U4VrGqIF3wAkVEQ1EWxyCxT854ngmSoblUSYYZt5859YzNh6Hsx7p LPkvla9lRpoQUSNPAVsMtfhsKVuJ0I1LBrKYm61dGbGcP0WlZ/K0tEI/2E5DjyVEUqhs JGuQ== |
| X-Gm-Message-State | AOPr4FUJGNX/QBRpjxOA9IBsJ741rs+ra88Iks7Vm2Hhwu4KJcycquyxI7MD0DstldtvWegpdQKxAT7b4uiNPA== |
| X-Received | by 10.107.169.13 with SMTP id s13mr311760ioe.19.1462240823502; Mon, 02 May 2016 19:00:23 -0700 (PDT) |
| In-Reply-To | <ng900j$fu2$1@dont-email.me> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAPTjJmqksOHbcRyPjDTg8b0pV-8npOdYK+53JDXTYYt3qV+gug@mail.gmail.com> |
| X-Mailman-Original-References | <ng6jie$1ap$1@dont-email.me> <85vb2xgj2i.fsf@benfinney.id.au> <mailman.298.1462164614.32212.python-list@python.org> <ng6mn7$8nv$1@dont-email.me> <5726ee33$0$1617$c3e8da3$5496439d@news.astraweb.com> <ng6sul$o85$1@dont-email.me> <CAPTjJmqO3jMMi57EZEAhFDD3OMbAeG9XVat2aAX529kEbpA7JQ@mail.gmail.com> <mailman.311.1462173544.32212.python-list@python.org> <ng900j$fu2$1@dont-email.me> |
| Xref | csiph.com comp.lang.python:108041 |
Show key headers only | View raw
On Tue, May 3, 2016 at 11:51 AM, DFS <nospam@dfs.com> wrote: > On 5/2/2016 3:19 AM, Chris Angelico wrote: > >> There's an easier way to test if there's caching happening. Just crank >> the iterations up from 10 to 100 and see what happens to the times. If >> your numbers are perfectly fair, they should be perfectly linear in >> the iteration count; eg a 1.8 second ten-iteration loop should become >> an 18 second hundred-iteration loop. Obviously they won't be exactly >> that, but I would expect them to be reasonably close (eg 17-19 >> seconds, but not 2 seconds). > > > 100 loops > Finished VBScript in 3.953 seconds > Finished VBScript in 3.608 seconds > Finished VBScript in 3.610 seconds > > Bit of a per-loop speedup going from 10 to 100. How many seconds was it for 10 loops? ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 00:06 -0400
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-01 21:34 -0700
Re: Fastest way to retrieve and write html contents to file Chris Angelico <rosuav@gmail.com> - 2016-05-02 14:40 +1000
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 00:50 -0400
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:00 -0700
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 01:04 -0400
Re: Fastest way to retrieve and write html contents to file Chris Angelico <rosuav@gmail.com> - 2016-05-02 15:12 +1000
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:17 -0700
Re: Fastest way to retrieve and write html contents to file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-02 15:57 +1000
Re: Fastest way to retrieve and write html contents to file Ben Finney <ben+python@benfinney.id.au> - 2016-05-02 14:49 +1000
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 01:00 -0400
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-01 22:15 -0700
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 01:59 -0400
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-01 23:27 -0700
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 03:37 -0400
Re: Fastest way to retrieve and write html contents to file Stephen Hansen <me+python@ixokai.io> - 2016-05-02 00:58 -0700
Re: Fastest way to retrieve and write html contents to file Michael Torrie <torriem@gmail.com> - 2016-05-02 22:06 -0600
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-03 00:24 -0400
Re: Fastest way to retrieve and write html contents to file Tim Chase <python.list@tim.thechases.com> - 2016-05-03 10:28 -0500
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-03 13:00 -0400
Re: Fastest way to retrieve and write html contents to file Tim Chase <python.list@tim.thechases.com> - 2016-05-03 13:41 -0500
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-04 02:10 -0400
Re: Fastest way to retrieve and write html contents to file Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-02 16:05 +1000
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 02:47 -0400
Re: Fastest way to retrieve and write html contents to file Chris Angelico <rosuav@gmail.com> - 2016-05-02 17:19 +1000
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 21:51 -0400
Re: Fastest way to retrieve and write html contents to file Chris Angelico <rosuav@gmail.com> - 2016-05-03 12:00 +1000
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 22:01 -0400
Re: Fastest way to retrieve and write html contents to file Peter Otten <__peter__@web.de> - 2016-05-02 10:42 +0200
Re: Fastest way to retrieve and write html contents to file DFS <nospam@dfs.com> - 2016-05-02 21:52 -0400
Re: Fastest way to retrieve and write html contents to file Chris Angelico <rosuav@gmail.com> - 2016-05-02 14:53 +1000
Re: Fastest way to retrieve and write html contents to file Tim Chase <python.list@tim.thechases.com> - 2016-05-02 07:38 -0500
csiph-web