Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B026ECA7 for ; Thu, 27 Dec 2012 10:05:35 +0000 (UTC) Received: (qmail 99020 invoked by uid 500); 27 Dec 2012 10:05:34 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 98875 invoked by uid 500); 27 Dec 2012 10:05:32 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 98846 invoked by uid 99); 27 Dec 2012 10:05:30 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 10:05:30 +0000 Received: from localhost (HELO [192.168.7.246]) (127.0.0.1) (smtp-auth username milamber, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 10:05:30 +0000 Message-ID: <50DC1DBA.9010006@apache.org> Date: Thu, 27 Dec 2012 10:06:50 +0000 From: Milamber Organization: Apache Software Fondation User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121123 Firefox/10.0.11 Iceape/2.7.11 MIME-Version: 1.0 To: dev@jmeter.apache.org Subject: Re: PERFORMANCE => Changing JMeter defaults to ensure better performances by default References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Le 24/12/2012 13:20, Philippe Mouawad a ecrit : > Hello, > > I am kind of annoyed of reading articles, blogs that say JMeter cannot > perform high Load Tests, consumes lot of memory, generates OutOfMemory ... > > This has become a kind of "Urban Legend" partly due: > - to issues that have been fixed for a while now > - and partly In my opinion to some default configuration parameters that > lead to these issues > > In my opinion, we should: > > 1) change these defaults to avoid new comers, beginners fall into all these > traps and others check they are using it well: > > - Save Service using XML output => Change to CSV Yes, CSV seems a better default type to the results file. > - Distributed Mode that uses the Standard which is far from being the > best performing Sample Sender => Change to Batch or StrippedBatch Why Batch ou StrippedBatch ? Why not Asynch or Diskstore? > > 2) Add warnings on GUIs of all elements that are more suited during > Scripting than during Load Test : > > - View Result Tree (I keep seeing people use this element during High > Load Test ! ) > - View Results in Table > - Graph Results > - ... JMeter can be used for functional tests. Warnings on GUI for the 'heavy' elements can be unpleasant. Perhaps add a menu/button option "Check script for load test" which display some warning (in a box or another way) when heavy elements are found in the tree. This option can be enabled by a property to checked before every load tests > 3) Add a popup warning when Start and Remote Start are clicked from GUI to > encourage NON GUI mode use (we could add a checkbox Remind Me later which > could be unchecked to avoid it again, but at least user would know about > it). See comment in 2) > 4) Finally use some kind of visual indicator (RED background) on some > options that have high impact on performance: > > - Javascript as scripting language > - Body (unescaped) in Regular Expression Extractor (*this one is a real > performance killer !*) > - Encourage JSR223 Samplers + Groovy + Caching instead of Beanshell > - ... point 2) too The "check script for load test" wizard can displaying warnings for this elements, and give some tips for performance > > Maybe we should post this mail on user mailing list to see what users think > about it. >