gEDA-dev: [PATCH] Symbol library performance
Peter TB Brett
peter at peter-b.co.uk
Wed Nov 28 18:29:42 EST 2007
On Wednesday 07 November 2007 17:11:38 Werner Hoch wrote:
> > > 2. Copying of my generated symbols is slow in gschem. If I place
> > > 100 symbols and create a copy, it currently takes quite long (about
> > > 20s).
> >
> > Hmm... is it any slower for the file-based symbols compared to the
> > command-based ones?
>
> Yes. I don't notice any delay when copying file-based symbols.
>
> > If so, that's bad and shouldn't be happening -- the symbol data's
> > supposed to be cached.
>
> gschem calls my script over and over again.
Try the attached patchset. This will cache symbols until the cache is next
invalidated (e.g. by explicit flushing, adding component sources, or clicking
the "Refresh" button).
Performance seems to be better, although I haven't done any benchmarking.
Cheers,
Peter
--
Peter Brett
Electronic Systems Engineer
Integral Informatics Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgeda-Clean-g_assert-usage-in-s_clib.c.patch
Type: text/x-diff
Size: 4746 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071128/149da1c6/attachment-0003.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-clib-Cache-symbol-data-between-library-refreshes.patch
Type: text/x-diff
Size: 1149 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071128/149da1c6/attachment-0004.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-clib-Clarify-naming-for-search-cache.patch
Type: text/x-diff
Size: 4421 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071128/149da1c6/attachment-0005.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071128/149da1c6/attachment-0001.pgp
More information about the geda-dev
mailing list