Deutsch English Français Italiano |
<vrbvju$2irc9$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: Python recompile Date: Tue, 18 Mar 2025 14:22:55 +0000 Organization: A noiseless patient Spider Lines: 26 Message-ID: <vrbvju$2irc9$2@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <vqmgjv$3a2il$1@paganini.bofh.team> <vqn4dn$1eb9s$1@dont-email.me> <vqo3ss$3hkas$1@paganini.bofh.team> <vqph2e$203bs$2@dont-email.me> <vqvtop$cpvn$1@paganini.bofh.team> <vr1nkh$1miii$1@dont-email.me> <G8_AP.37556$D_V4.24121@fx39.iad> <vr1uk1$1sb5s$1@dont-email.me> <874izvjs4m.fsf@nosuchdomain.example.com> <vr27td$22vgq$2@dont-email.me> <87senfi7ii.fsf@nosuchdomain.example.com> <vr2dbm$2995t$1@dont-email.me> <vr2onl$2hjmt$3@dont-email.me> <vr3k67$3a5r2$1@dont-email.me> <vr3li9$3bqnp$1@dont-email.me> <vr3php$3di63$2@dont-email.me> <vr3qa3$3fua7$1@dont-email.me> <vr3vup$3jjoq$1@dont-email.me> <vr4ba0$3tj6e$1@dont-email.me> <vr4emj$3vejc$1@dont-email.me> <vr67qo$1inip$1@dont-email.me> <vr6ert$1ob25$1@dont-email.me> <vr93a6$3i2s$1@dont-email.me> <vr9bd9$adgu$1@dont-email.me> <vr9ir0$gve3$1@dont-email.me> <vr9l30$id99$1@dont-email.me> <vrbfrn$2899l$1@dont-email.me> <vrbjme$2bne2$1@dont-email.me> <vrbmip$2e00d$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 18 Mar 2025 15:22:54 +0100 (CET) Injection-Info: dont-email.me; posting-host="35833daf7a617b7c2106f27a6fe8438d"; logging-data="2715017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uwqWU07nteo4OCSr3JsXt" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Sz7n+l8N42R7ofR9g6j7Czuh2Dg= In-Reply-To: <vrbmip$2e00d$1@dont-email.me> Content-Language: en-GB Bytes: 2924 On 18/03/2025 11:48, Richard Harnden wrote: > On 18/03/2025 10:59, bart wrote: >> for a test file of nearly 1M lines. > > Any sane shop would reject a source file that long. > It's unmaintainable. > It's called a benchmark, and can be used a stress test. Most cars for example wouldn't make a journey like Paris-Dakar in one trip, but it's a useful test of how different models perform. That can help detect inefficiences and ideas for improvements. Files that big /are/ sometimes generated; I remember one called gcc.c which was 750K lines. Presumably they are expected to be compiled at some point, then how long it takes could matter. Somebody didn't believe it was possible to compile 1M lines in two seconds, so testing even 10K lines wouldn't have been convincing. Also, various overheads would affect the measurements of a very fast compiler if the input is too small and it completes too quickly.