Skip to content

[GTK4] Tree slower then GTK3 #1480

Open
@ghost

Description

Describe the bug
The testcases under package org.eclipse.swt.tests.junit.performance are taking longer to execute.

Testcase : Test_org_eclipse_swt_widgets_Tree.java
this testcase takes around 700 seconds on Windows SWT where as it takes around 6000 seconds on Linux SWT / Sometimes does not respond (May be because I am using VM)

Testcase : BenchmarkSwtMultithreading.java
This testcase is also having timing differences when executed in windows and Linux.

Testcase : Test_situational.java
Not running

To Reproduce
Setup SWT workspace in Linux and run above testcases .

Expected behavior
Performance can be improved

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)
    Ubuntu 22.04.4 LTS (VM on Windows)

** Additional context**
Identified GTK APIs (Deprecated since 4.10) causing the delay for testcase Test_org_eclipse_swt_widgets_Tree are
https://docs.gtk.org/gtk4/method.TreeModel.get_path.html
https://docs.gtk.org/gtk4/method.TreeStore.set.html

GTK4_LINUX_1

GTK4_Linux_2

GTK4_Linux_3

#228

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions