GNU bug report logs -
#43252
27.1; DBus properties lack type hints or overrides
Previous Next
Reported by: Hugh Daschbach <hugh <at> ccss.com>
Date: Mon, 7 Sep 2020 00:55:02 UTC
Severity: normal
Found in version 27.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #130 received at 43252 <at> debbugs.gnu.org (full text, mbox):
Michael Albinus writes:
> Hugh Daschbach <hugh <at> ccss.com> writes:
>
> Hi Hugh,
>
>> I think I've addressed all the issues you pointed out. Let me know if
>> there's something that still doesn't look right.
>
> I've roughly scanned the patches, they look almost OK. Let's wait now
> for appearing your name on the copyright file.
>
> Anyway, here's my nit of the day:
>
>> * test/lisp/net/dbus-tests/org.gnu.Emacs.TestDBus.xml: New test data.
>
> This shall be dbus-resources.
Thanks. Fixed. Will wait for the paperwork to clear. Then will rebase
and send you a final copy of the patches.
>> Thanks
>> Hugh
>
> Best regards, Michael.
I've taken a brief look at performance of the introspection tests. The
long pole seems to be ERT, rather than the tests themselves.
Running the profiler while running ert showed The cpu profiler report
for running dbus-test07-introspection breaks down something like:
- GC - 30%
- dbus-* - 30%
- ert-* - 40%
So I pulled introspection tests out into a separate file, redefined
`should', and reran dbus-test07-introspection. It completed almost
instantly. I wrapped the body of dbus-test07-introspection in a dotimes
form with 50 iterations. That completes in roughly 1.1 seconds.
Comparing runtime and GC cycles for a single run,
running with ERT: 2 gcs in 2.228295 sec
running w/o ERT: 1 gcs in 0.036733 sec
Those numbers come from:
(let ((start (current-time))
(gcs gcs-done))
;; test program call
(message "%d gcs in %02f sec" (- gcs-done gcs) (float-time (time-since start))))
I'm not well versed in chasing Emacs performance issues, bit this looks
to me more like testing than introspection overhead. Any
suggestions?
Cheers,
Hugh
This bug report was last modified 4 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.