From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:2cc8:: with SMTP id i191-v6mr12212900iti.35.1523147388495; Sat, 07 Apr 2018 17:29:48 -0700 (PDT) X-Received: by 2002:a9d:590b:: with SMTP id t11-v6mr1774888oth.7.1523147388415; Sat, 07 Apr 2018 17:29:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!u184-v6no1091683ita.0!news-out.google.com!u64-v6ni1683itb.0!nntp.google.com!u184-v6no1091682ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 7 Apr 2018 17:29:48 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.147.43.80; posting-account=lzqe5AoAAADHhp_gregSufVhvwu22fBS NNTP-Posting-Host: 68.147.43.80 References: <1aa8f536-250d-4bef-9392-4d936f916e5f@googlegroups.com> <9377f941-31d0-4260-818a-8e189aac8c19@googlegroups.com> <10e74e0c-119a-4d86-8a12-c05101f744f1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0bba20f9-76ba-420e-afef-d1f1d0470382@googlegroups.com> Subject: Re: Large number of tasks slows down my program (using debian) - any fix? From: Brad Moore Injection-Date: Sun, 08 Apr 2018 00:29:48 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2879 X-Received-Body-CRC: 2360438187 Xref: reader02.eternal-september.org comp.lang.ada:51394 Date: 2018-04-07T17:29:48-07:00 List-Id: On Saturday, April 7, 2018 at 12:41:13 PM UTC-6, Jeffrey R. Carter wrote: > But I'm not sure your version is a fair test, either. There aren't tasks = linked=20 > in a ring. There are just a bunch of tasks that manipulate data in a PO u= ntil=20 > they have done so the correct number of times. That doesn't seem to fulfi= ll the=20 > spirit of the requirements. You are probably right, as echoed by Dmitri, its somewhat borderline. There are other Ada versions farther down the list of Ada programs, I think= that are closer to the original intent.=20 See https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/thr= eadring-gnat-4.html or=20 https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/threadr= ing-gnat-1.html I think some of the other benchmarks at this site are better inter-language= comparisons. This test is a bit too abstract, since what a language calls = a thread is a pretty loose definition. But I think part of the value of thi= s site is to illustrate unique language features, so in that regard I think= it works ok, since protected objects are one of the main features of Ada.