Description
- With a dev build of Qt 5, check out/cherry pick https://codereview.qt-project.org/#/c/255185/9.
- Open qtdeclarative/tests/auto/qml/qqmltablemodel/qqmltablemodel.pro.
- Put a breakpoint on line 150 of qtdeclarative/src/qml/types/qqmltablemodel.cpp.
- Run the "appendRemoveRow" test (add it as an application argument).
- Start debugging.
- Jump over until you hit line 152.
- Expand the rowsAsVariantList local. It can take ~70 seconds on the first run, and ~35 seconds on each successive run within the same session.
Note that I removed -Og from qtdeclarative/src/qml as most locals (including the one I'm interested in) are <optimized out> otherwise.
Qt Creator 4.8.0 Based on Qt 5.12.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit) Built on Dec 3 2018 15:07:43 From revision d51ddbb8f0 System: Host: mitch-ubuntu-18 Kernel: 4.15.0-46-generic x86_64 bits: 64 Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.2 LTS Machine: Device: desktop System: LENOVO product: 10A6S0T602 v: ThinkCentre M93p serial: N/A Mobo: LENOVO model: SHARKBAY v: NOK serial: N/A BIOS: LENOVO v: FBKTB6AUS date: 08/02/2015 CPU: Quad core Intel Core i7-4770 (-MT-MCP-) cache: 8192 KB clock speeds: max: 3900 MHz 1: 1297 MHz 2: 1297 MHz 3: 1299 MHz 4: 1327 MHz 5: 1359 MHz 6: 1317 MHz 7: 1312 MHz 8: 1301 MHz Graphics: Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller Display Server: x11 (X.Org 1.19.6 ) driver: i915 Resolution: 3840x2160@60.00hz OpenGL: renderer: Mesa DRI Intel Haswell Desktop version: 4.5 Mesa 18.2.2 Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel Sound: Advanced Linux Sound Architecture v: k4.15.0-46-generic Network: Card: Intel Ethernet Connection I217-LM driver: e1000e IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 6c:0b:84:41:df:d2 Drives: HDD Total Size: 512.1GB (42.1% used) ID-1: /dev/sda model: LITEON_IT_LCS size: 256.1GB ID-2: /dev/sdb model: LITEON_IT_LCS size: 256.1GB Partition: ID-1: / size: 234G used: 194G (88%) fs: ext4 dev: /dev/sda1 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C Fan Speeds (in rpm): cpu: N/A Info: Processes: 361 Uptime: 5:42 Memory: 8297.9/15836.5MB Client: Shell (bash) inxi: 2.3.56