From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Image transforms as a benchmark? Date: Sun, 12 Sep 2021 15:29:15 +0200 Message-ID: References: <83a6kif0ov.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22500"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Third , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 12 15:30:44 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mPPZC-0005eL-1W for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Sep 2021 15:30:42 +0200 Original-Received: from localhost ([::1]:46110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPPZA-00042R-Hj for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Sep 2021 09:30:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPPXs-00035k-E3 for emacs-devel@gnu.org; Sun, 12 Sep 2021 09:29:20 -0400 Original-Received: from mail-am6eur05olkn2045.outbound.protection.outlook.com ([40.92.91.45]:31971 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPPXr-0004Ur-18; Sun, 12 Sep 2021 09:29:20 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IJGe0KSborqa/D42ho3cYoHjZVoEQy0GgGm3Nz3M44KnBBEXBWtoh+Pm/gQFC47x+CDE5ipbiJQjitD5EO5BnSiRHG0wajFg7IbNK3yxPrP+/Oul4cVlEMugRcgr0Q9vfVXlaBo9VNC3QtasbmQZ/lQoX/OE727jlrs1lIMoPEZprOJahs3Pz7raXBAEs50aXyT2XRU7IzbmhtVaq4swWuRf26MRGRJ2LBxNuCdmS12ufhkfM6RqIYIqQh+YIP+bqlnTnxgCufYQLo3oeFesoEwFThVPB02QMXG5X5MCRvUysL1raZ1Yl1sFJN0O005B9BNvdvMwj71H7Ynz6hZPAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Z031EKXHUOP/r2QL9hZ0LgFKm8ybHpiMQ7QL9Kpf0qA=; b=iKWfEJerEHUvaHpnRezu/Tsh+tzSJX7pLdECyHEiYEMiyZmgqZQM7fovmpLRaKqIjZC14sbTrERpUnxDnW/Rg75aMCYYfutP4m5LYdEKoSZltD3Y4DiE8Wa/WJSgRC2A50QxT30EqNJiEbUu3WMEa+/eqFhgHgmSjvPhFh0DlXu+IkQw+awBgyxLA1ECeuBBc7I+dcLXNITlvC8JKru2MtEC3O3KQOfRWLnVx9UA1+hbbSrlsc5ZNtirAHYtF4v7T+ke+zdUZ8k7VInQLeh22E78ilqQWcZtAWP6IlJoKficAfBkZbGYFpEZkyGBTb9DWXvhq8RPps7a/ti7FieQVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z031EKXHUOP/r2QL9hZ0LgFKm8ybHpiMQ7QL9Kpf0qA=; b=Nl4vpO9iNgqKA9cPE6yFEU/sWyfz0Ze04zw3VfSAkpp5lOPRgbQPJjMZdCO1BQlBhVEqPhd2LzGzFuAxFmB8H4opALhDzqbrgWRslrJm8A27ZjJIwjb/9GOkTkKx7kLwC7ZEnwFXLVzcDljUOEzQEInUMKLvGXVjmTUEWwD92M7Ae2hBMVpUKV+K7pebp0eKb78CKsr6HqINLA4iA7UYwKNwyaz18DVYg2anMVqhfr8hIs0Fkgu1iPjd33GqWIBUu3S4QSfGKdq6KenHQbBTU9+Hq1tIfUVFslThvf9sh3ClRnXgLbjX/ON1ETVZSqYwk6teaFTUdgi5z563iqr7ig== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM0PR09MB2770.eurprd09.prod.outlook.com (2603:10a6:208:128::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.18; Sun, 12 Sep 2021 13:29:16 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::c55c:ece5:bed2:a9dc%8]) with mapi id 15.20.4500.018; Sun, 12 Sep 2021 13:29:16 +0000 In-Reply-To: <83a6kif0ov.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Sep 2021 15:17:04 +0300") X-TMN: [EBUOR4jH3B20uOO5pWjFR/DsWT5GFwUw] X-ClientProxiedBy: AM5PR0602CA0017.eurprd06.prod.outlook.com (2603:10a6:203:a3::27) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87ee9t7wic.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM5PR0602CA0017.eurprd06.prod.outlook.com (2603:10a6:203:a3::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Sun, 12 Sep 2021 13:29:15 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 28da7cba-fdd7-4042-e581-08d975f1513e X-MS-TrafficTypeDiagnostic: AM0PR09MB2770: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FXg4C30fxjRpH3xOhR/L/UyeAfAZfT11g/jbDGI8hkNFKaMdiA3XhNd3v2BfeNYHW3QzWwSvobhSk0y4DiN2Y+3j4Ta0UKge63dhProREPxEZgFZIDn9EKroGCjtfGZqrZN+/5EkpFqx3D1wnmXXrdORzvr0/sqWDEVIN903jroUq4ArrS7pjJzGROCr2L3eB4WVgIF0nT1BunPp/Rl5ZkBB6WBi6Xf5ZseM6njKCzBW8ZozhJeyfcW4OJnkJDskQs+67Ejw2SzHg21nlAZweRvBhldj35AjVR23GxclpEecU4jnckbFitFspBz7vzgYKF84wxoT2QR52nf9t81lVNYVQM6ABkb3vwQVgTl75lsnLELKyW8Qeo3m5lJ4zzGcruDCnNDcdty6cwplTjZwJICLMwjE7rPD4WUrCLockpheLnvOpzcx+xGuYEw7cf8K X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hpvEFgiNFR6Tknvr+6Ytdk2KkwCGh6e/ehnVBFxKxwW46OBQUduRzC+fI5WmwEz6HyGAQuhyfaLZbxq3UT07WE5+oGFWAKIy3244NnR9vsSmF42YZspzJ+ylZFV7ICh4BNY+WL/S4Z7eKpNeJ4qfjQ== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-72e6e.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 28da7cba-fdd7-4042-e581-08d975f1513e X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2021 13:29:16.3068 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR09MB2770 Received-SPF: pass client-ip=40.92.91.45; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274594 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Date: Sun, 12 Sep 2021 13:45:39 +0200 >> >> I wonder if image-rotate is handled completely by external libraries? I see >> no effect on performance, regardless of how many time I rotate some image. > > It's handled by the window-system libraries: XLib or Cairo or > ImageMagick on Unix, GDI on Windows, etc. So you shouldn't see any > significant performance changes in these functionalities due to > optimization switches. Yes, I understand. >> Is it same situation for scaling down? I see big difference when >> scaling up images so I guess that is handled by Emacs own code? > > Not sure (is your build with or without ImageMagick?) It is without ImageMagick.