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 A91A9200B64 for ; Tue, 2 Aug 2016 08:32:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7B1B160A8C; Tue, 2 Aug 2016 06:32:05 +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 C80A9160A76 for ; Tue, 2 Aug 2016 08:32:04 +0200 (CEST) Received: (qmail 62364 invoked by uid 500); 2 Aug 2016 06:32:03 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 62352 invoked by uid 99); 2 Aug 2016 06:32:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 06:32:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E9A0D1A0455 for ; Tue, 2 Aug 2016 06:32:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.31 X-Spam-Level: *** X-Spam-Status: No, score=3.31 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cwareitservice.onmicrosoft.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sxzKXTMhW1Iq for ; Tue, 2 Aug 2016 06:32:00 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0120.outbound.protection.outlook.com [104.47.2.120]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4658E5F254 for ; Tue, 2 Aug 2016 06:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CWareITService.onmicrosoft.com; s=selector1-cware-de0c; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GwRfbxrAHQbADZd7CJKoRQNcklhTcCKI7/1UHs2SMvk=; b=JWidQEjDBHr0VQ4ZTvvsmUW/U1gdCfdtPuANqmXSzzAJhHWJ5CL6kETEsvbCBg/pjGcHIAWREr2pwBNK0hK0UDV4vZ80U6cg3wLxZ5Rep5xqQ8qOX/hRRHQV2cW1ddtEqdb47PqQSIDqC4jSH2TBzczHyvBBrZT+hXlLfPvFJmg= Received: from DB5PR05MB1285.eurprd05.prod.outlook.com (10.162.157.147) by DB5PR05MB1286.eurprd05.prod.outlook.com (10.162.157.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Tue, 2 Aug 2016 06:31:51 +0000 Received: from DB5PR05MB1285.eurprd05.prod.outlook.com ([10.162.157.147]) by DB5PR05MB1285.eurprd05.prod.outlook.com ([10.162.157.147]) with mapi id 15.01.0549.022; Tue, 2 Aug 2016 06:31:51 +0000 From: Christofer Dutz To: "users@flex.apache.org" Subject: AW: Workers and Speed Thread-Topic: Workers and Speed Thread-Index: AQHR6sh8hcCKu+m1Bk+ZJoYqh4VajaAx+w+A///+poCAABYhgIAAAUCAgAAOlACAAOYhAIAAFtCAgABWkwCAABGugIAABC6AgAFoRwCAABYAAIAAAvQAgAASOICAAAosgIAAEg03 Date: Tue, 2 Aug 2016 06:31:51 +0000 Message-ID: References: <1469998448849-13113.post@n4.nabble.com> <137FF791-ECA6-4DB0-B063-229B1082A3B7@classsoftware.com> <1470021938147-13115.post@n4.nabble.com> <1470104002020-13134.post@n4.nabble.com> <1470109360875-13137.post@n4.nabble.com> <0FA8B7CC-1D21-4465-BD43-46900FE0A954@classsoftware.com>,<1470115457325-13140.post@n4.nabble.com> In-Reply-To: <1470115457325-13140.post@n4.nabble.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=christofer.dutz@c-ware.de; x-originating-ip: [88.128.80.58] x-ms-office365-filtering-correlation-id: 70c01b7b-1697-4540-8b4a-08d3ba9eb029 x-microsoft-exchange-diagnostics: 1;DB5PR05MB1286;6:a5rtAZQfBk8iit8FLoVk+exNfjx1sDAYf7g3OSZLZP/ziRPEpzpSPicLEKo6S00q7JBgWrAecwe6rGNBZDwRIvgLLrFTW98VHuwqFii23fjbARmNkbS0M1t3mrIF9kuMoT4s+kvlVoALU6bZmEkLiZBib3i7mbkzOhc6voLKMzwSbr59CF2VwDvDD4TIG2SVW114P+JbE4z/VFGXD+OMJE+iCYWN+vZ6euK3mKlojuXxmcl6CZvcFhFLqXXgN9buulebnsZBhNseDrlq4mldMSAq/ndeyVDhDMrsbc7QeVEk5NPJ0/+ewsSouqm1el+h;5:E6sNWl/vcHZgY2b4nl3aOfAJy7MItLPzNhF1ztvnm3RZTeuV4wIwbDpLXrlgXhXoT+ZqzRWRGH1V6JP8dyAMOV5EhYTjXHvzm9NV2+pTuK4IOwc2DjFqoGyb3Us4jLTSLaHDIqlCwMf+Rb5s6XNn+g==;24:PZMGMcsvhedc4hixLTpirl1mJ8dr45bNm8XQc+DAa0Um3D6TBq465Tc5tCcle0MCpYXLVSXEUWKGULO7eZpytHJqJL1hsliTRULhAjeuL88=;7:Hayp+fjsG/5NnUftLwd7zIu+D0foWk4G1EDaFo3l+wgfvrZzvKvuvd0hPHkCoD0LdIAiIdWqsemMZn0/YIY1ZxHBgwQRluQeU/fhTavucnYEqTClQzX2KeQnS0dLG4whXpbGu2KHfCukL4ALLvimxEaR+rnRgIb2QBOBMd4673bcb1MdlbC/UVwmYwJfmndPaWNHZ7IXQOlsQJ6jxdo2fnfRkHCAdSowVTEFYUzhKAnPMEwuBn+QbMWQWwICywl+ x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1286; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(68173958961439)(278428928389397)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040130)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041072)(6043046);SRVR:DB5PR05MB1286;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1286; x-forefront-prvs: 0022134A87 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916002)(189002)(69224002)(199003)(74482002)(87936001)(229853001)(19617315012)(75402003)(16297215004)(92566002)(2950100001)(2900100001)(76576001)(106116001)(106356001)(86362001)(110136002)(102836003)(586003)(6116002)(107886002)(2501003)(19580395003)(189998001)(10400500002)(97736004)(19580405001)(11100500001)(122556002)(68736007)(2351001)(3846002)(7846002)(16236675004)(74316002)(105586002)(77096005)(7736002)(7906003)(2906002)(8936002)(7696003)(5002640100001)(81166006)(33656002)(19625215002)(81156014)(1730700003)(3280700002)(66066001)(450100001)(8676002)(3660700001)(15975445007)(93886004)(101416001)(76176999)(50986999)(54356999)(9686002)(18121605002);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR05MB1286;H:DB5PR05MB1285.eurprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: c-ware.de does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DB5PR05MB1285C316CCA60AFAB12651E2A2050DB5PR05MB1285eurp_" MIME-Version: 1.0 X-OriginatorOrg: c-ware.de X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2016 06:31:51.0091 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9d387546-1437-4b89-846c-691d64a7e74d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1286 archived-at: Tue, 02 Aug 2016 06:32:05 -0000 --_000_DB5PR05MB1285C316CCA60AFAB12651E2A2050DB5PR05MB1285eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Well the optimizations I did in order to get my applications to speed up dr= amatically were on the one side using Arrays instead of collections. The bi= ggest thing I noticed were, that per default my model classes were annotate= d with [Bindable], which caused every property to be bindable. By explicitl= y handing the events and not relying on a bindable model, I cut the overhea= d by 9/10th ... could check this (Have to admit that I haven't read all of = this lengthy thread though ... so if I'm suggesting something that's alread= y been suggested ... sorry for that ;-) ) Chris ________________________________ Von: bilbosax Gesendet: Dienstag, 2. August 2016 07:24:17 An: users@flex.apache.org Betreff: Re: Workers and Speed Alright!!! Now we are getting somewhere! Passing the ArrayCollection to a standard Array cut the time in Half! From almost 50 minutes down to 23 minutes. So here is the breakdown now: Total time =3D 1396 sec ObjectProxy.getProperty --> 804 sec Garbarge Collection --> 198 sec ObjectProxy.setProperty --> 25 sec (times related to the ArrayCollection previously are gone!) I wish there was a way to get rid of some of that ObjectProxy time. Regardless of it is is an object or an objectproxy or a bindable named class, there is still going to be some time involved in plucking the data out of the array to work on. I don't know how severe of a penalty it is that the data is inside of an ObjectProxy. But I also don't understand how to use the bindable named class either. The way that it works is I am reading ALL of the data from a database (SELECT * FROM main), and making the results the source of my mainArrayCollection that displays in my datagrid and is used in all of my calculations. I don't know how to go about taking that data and assigning it to a bindable class. Taking each object and converting it to an objectproxy was a really easy process. If you think that it would help my speed problems, could you help me to understand how to use this bindable class that you and Alex have referred to? Thanks for all of your help!!! I've gone from over 2 hours down to 23 minutes! -- View this message in context: http://apache-flex-users.2333346.n4.nabble.co= m/Workers-and-Speed-tp13098p13140.html Sent from the Apache Flex Users mailing list archive at Nabble.com. --_000_DB5PR05MB1285C316CCA60AFAB12651E2A2050DB5PR05MB1285eurp_--