Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A8D7C200C29 for ; Mon, 13 Feb 2017 13:59:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A5E32160B4D; Mon, 13 Feb 2017 12:59:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 034ED160B60 for ; Mon, 13 Feb 2017 13:59:22 +0100 (CET) Received: (qmail 38415 invoked by uid 500); 13 Feb 2017 12:59:22 -0000 Mailing-List: contact issues-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@jmeter.apache.org Delivered-To: mailing list issues@jmeter.apache.org Received: (qmail 38404 invoked by uid 99); 13 Feb 2017 12:59:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2017 12:59:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A3196C669A for ; Mon, 13 Feb 2017 12:59:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id G8vTivYSYq2R for ; Mon, 13 Feb 2017 12:59:21 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 87C8D5F30A for ; Mon, 13 Feb 2017 12:59:20 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id DF4A0E0612 for ; Mon, 13 Feb 2017 12:58:55 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id EB9076075E; Mon, 13 Feb 2017 12:58:54 +0000 (UTC) From: bugzilla@apache.org To: issues@jmeter.apache.org Subject: [Bug 60687] Make GUI more responsive when it gets a lot of events Date: Mon, 13 Feb 2017 12:58:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Version: 3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sitnikov.vladimir@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: issues@jmeter.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Mon, 13 Feb 2017 12:59:23 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D60687 --- Comment #16 from Vladimir Sitnikov --- Felix> Could you be a bit more specific here? For instance, 1) Things like "model.insertRow" do require to be executed on the AWT threa= d. I'm not sure how hard it could break, however accessing UI thread on the hot path is bad. 2) Table rendering code (that is run on the UI thread) accesses computed va= lues without any synchronization. This might result in word tearing, stale value= s, unexpected division by zero, etc. Felix> Right. Get swing out of the path and be happy. This kind of change would likely to heal 1 above, however it might look lik= e a "complete rewrite of the relevant listener code". Even if we move swing calls out of hot path, we would still need some fast = way to aggregate values. For instance, "Total" row could be computed "on UI refresh" to avoid global synchronization of all the threads. From one point of view this might look like a over engineering, on the other hand, that might be reused for "non-gui console mode" listeners. --=20 You are receiving this mail because: You are the assignee for the bug.=