mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
9ef82fb898
In scatter mode a two-array (X/Y) plot rebuilt the table and chart once per property setter (data, offset, stride) and restyled every marker four times, so a ~4000-point phase portrait froze for ~0.8s per refresh. - SeerArrayWidget: add a BulkUpdate RAII guard that defers create() until a burst of setters completes, so a refresh does one rebuild, not several. - redecorateScatterSeries: drop the two redundant transparent passes; after addSeries() the series holds the theme pen/brush, so setPen(NoPen)/ setBrush() are already real transitions and either re-pushes both to the markers. ~800ms -> ~200ms per refresh at 4000 points; line/spline and marker appearance unchanged. Add tests/helloscatter, a 4000-point two-array phase portrait with a breakpoint loop, to reproduce the slow refresh.
21 lines
525 B
Makefile
21 lines
525 B
Makefile
# This is the default target, which will be built when
|
|
# you invoke make
|
|
.PHONY: all
|
|
all: helloscatter
|
|
|
|
# This rule tells make how to build helloscatter from helloscatter.cpp
|
|
helloscatter: helloscatter.cpp
|
|
g++ -g -o helloscatter helloscatter.cpp
|
|
|
|
# This rule tells make to copy helloscatter to the binaries subdirectory,
|
|
# creating it if necessary
|
|
.PHONY: install
|
|
install:
|
|
mkdir -p binaries
|
|
cp -p helloscatter binaries
|
|
|
|
# This rule tells make to delete helloscatter
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f helloscatter helloscatter.o
|