Title: wxwidgets new driver very very slow · Issue #9 · PLplot/PLplot · GitHub
Open Graph Title: wxwidgets new driver very very slow · Issue #9 · PLplot/PLplot
X Title: wxwidgets new driver very very slow · Issue #9 · PLplot/PLplot
Description: I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor. The procedure to test it is easy: compile plplot 5.15 with -DBUILD_TEST=ON and alternatively with -DOLD_WXWIDGETS=ON and -DOLD_WXWIDGE...
Open Graph Description: I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor. The procedure to test it is easy: compile plplot 5.15 with -DBUILD_TEST=ON and alternatively w...
X Description: I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor. The procedure to test it is easy: compile plplot 5.15 with -DBUILD_TEST=ON and alt...
Opengraph URL: https://github.com/PLplot/PLplot/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" wxwidgets new driver very very slow ","articleBody":"I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor.\r\nThe procedure to test it is easy:\r\n- compile plplot 5.15 with -DBUILD_TEST=ON and alternatively with -DOLD_WXWIDGETS=ON and -DOLD_WXWIDGETS=OFF. In both cases install and compare the time it takes to plot example c++/x11\r\n- the time is ~10 larger with the new driver\r\n- this factor goes as square of the size of the plot window (try with -geometry 3000x30000) wich almost never succeeds to plot with the new driver, and ~3 seconds for the old.\r\n\r\nby comparison, X11 is instantaneous.\r\n\r\nMy configuration: Mageia 8 , wxwidgets 3.1 (wxgtk) , gcc 10.3.0 , plplot 5.15.0\r\n\r\nThe culprit is the Clipper object used in DrawLine.\r\nmore precisely, because it calls wxRegion() which somehow calls gdk_cairo_region_create_from_surface() each time, this is terribly long.\r\n\r\nmaking wxRect wxPLDevice::GetClipRegion() a wxRect and not a wxRegion, for example with:\r\nreturn wxRect(cpoints[0],cpoints[2]);\r\n//instead of return Region( 4, cpoints );\r\n(and the declarations,etc)\r\nis sufficient to get a reasonable speed.\r\n\r\nReasonable because the old driver is still 6 times faster.\r\n","author":{"url":"https://github.com/GillesDuvert","@type":"Person","name":"GillesDuvert"},"datePublished":"2023-09-05T14:37:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9/PLplot/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7a5c1ef3-dacb-17b5-ad04-ccf83dddc0ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B38A:1625C5:4D98CFA:64D3BA4:69750F00 |
| html-safe-nonce | a0ee491c452f1a0e748a6bcd96b52230e1622879d72d05a610adbdbd33931e97 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzhBOjE2MjVDNTo0RDk4Q0ZBOjY0RDNCQTQ6Njk3NTBGMDAiLCJ2aXNpdG9yX2lkIjoiNTY0MjkxMzIyNTY1Mzk0ODE2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dda11888c03411c2be7e0ff06e378b08de2999018385a71468b59875da147a79 |
| hovercard-subject-tag | issue:1882116349 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PLplot/PLplot/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e4cfd564eb0bb778950f91dfad70a98f68e0adcde05f1c6536cc2b051e055fbc/PLplot/PLplot/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e4cfd564eb0bb778950f91dfad70a98f68e0adcde05f1c6536cc2b051e055fbc/PLplot/PLplot/issues/9 |
| og:image:alt | I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor. The procedure to test it is easy: compile plplot 5.15 with -DBUILD_TEST=ON and alternatively w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GillesDuvert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/PLplot/PLplot git https://github.com/PLplot/PLplot.git |
| octolytics-dimension-user_id | 8444244 |
| octolytics-dimension-user_login | PLplot |
| octolytics-dimension-repository_id | 23540273 |
| octolytics-dimension-repository_nwo | PLplot/PLplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 23540273 |
| octolytics-dimension-repository_network_root_nwo | PLplot/PLplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width