🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1628

Re: Best way to develop a server stress tool

#1628
From: Oren Halvani
Date: Fri, 05 Nov 2004 01:10
20 lines
1480 bytes
"Mark Anders" <manders@yahoo.com> schrieb im Newsbeitrag
 news:41850418@newsgroups.borland.com...

hi Mark,

just a idea...what about:

double factorial(double n)
{
   if (n <= 1) return(1); else {return(n * factorial(n - 1));}
}

call it now with: 99999999999

this is what i do, if i want to stress my laptop (for power reasons),
the processor makes here a *hard* work :-)



Oren
Technical Details
Message-ID: <418ad337$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41850418@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1f7941e50aada38e
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Oren Halvani" <Spam@Me-Please.com>
From: "Oren Halvani" <Spam@Me-Please.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <41850418@newsgroups.borland.com>
Subject: Re: Best way to develop a server stress tool
Date: Fri, 5 Nov 2004 02:10:30 +0100
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 217.234.107.53
Message-ID: <418ad337$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099617079 217.234.107.53 (4 Nov 2004 17:11:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail