Return-Path: Delivered-To: apmail-xml-batik-users-archive@www.apache.org Received: (qmail 22456 invoked from network); 11 Jan 2005 17:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jan 2005 17:38:55 -0000 Received: (qmail 91930 invoked by uid 500); 11 Jan 2005 17:38:50 -0000 Delivered-To: apmail-xml-batik-users-archive@xml.apache.org Received: (qmail 91866 invoked by uid 500); 11 Jan 2005 17:38:50 -0000 Mailing-List: contact batik-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: "Batik Users" Delivered-To: mailing list batik-users@xml.apache.org Received: (qmail 91742 invoked by uid 99); 11 Jan 2005 17:38:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jordi.ferran@gmail.com designates 64.233.184.200 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.200) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 11 Jan 2005 09:38:49 -0800 Received: by wproxy.gmail.com with SMTP id 55so289020wri for ; Tue, 11 Jan 2005 09:38:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=CAprR7CmU4IkthOGY0tTguevLD/zLBUz97Dd/UX9BtuGPqyQdIFATf3YyhXCBNWF1xgRXBD6uhJrboIKSpbTzsHA9gvwcmbngEMxR6QK3JChiGrp704dNMZTAGHR1F+Y6smz7b9XIlE6qKaL8SHf82JovnLnlBvjXTuHgwRx0PM= Received: by 10.54.6.60 with SMTP id 60mr589000wrf; Tue, 11 Jan 2005 09:38:45 -0800 (PST) Received: by 10.54.6.4 with HTTP; Tue, 11 Jan 2005 09:38:45 -0800 (PST) Message-ID: <814427f9050111093813d7b1c@mail.gmail.com> Date: Tue, 11 Jan 2005 18:38:45 +0100 From: Jordi Ferran Reply-To: Jordi Ferran To: Batik Users Subject: [ batik-user ] : Batik Tunning and Performance Issues Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I'm generating JPEG images with Batik for rendering a great amount of items, about 35.000 now. The problem is the speed, 8 to 50 seconds is unacceptable on the real-time scenario I must work with. Now I use the JPEGTranscoder class combine with a TranscoderInput. I manually build up the Document tree on memory and then give it to the TranscoderInput. My question is: Which tricky tunning optimizations can I do to speed up the rendering time ? I see different rendering times (8sec-50sec) depending on the resolution 400x300 faster than 2000x2000 pixel image, using the same amount of items to be rendered. It is any achievement using this library on a real-time scenario with a heavy load on the rendering component ? Thanks in advance. Jordi Ferran Sanchez --------------------------------------------------------------------- To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org For additional commands, e-mail: batik-users-help@xml.apache.org