Speed up gdb loading

Da Viper yerimyah1 at gmail.com
Thu Jul 22 12:29:18 BST 2021


Hello there will do that.

i would also start porting to python 2 by next week, either  making its own
module or changing the existing code as you recommended, it would take a
little bit of time.


On Tue, 20 Jul 2021 at 13:58, Ralf Habacker via Kde-finance-apps <
kde-finance-apps at kde.org> wrote:
>
> Am 20.07.21 um 10:23 schrieb Ralf Habacker via Kde-finance-apps:
> > Hi Ebuka,
> >
> > which can speed up load times.
>
> I'm using the following gdb batch file to measure startup time of
> kmymoney under gdb control
>
> 1. download portable package from
> https://kmymoney.org/snapshots.php#kmymoney5-aq6-master
> 2. unpack with 7z
> 3. enter bin dir of unpackaged archibe
> 3 create gdb command file
>
> $ cat test.gdb
> file kmymoney.exe
> b main
> python import time
> python start_time = time.time()
> run
> python elapsed_time = time.time() - start_time
> python print (time.time()-start_time)
>
> 4. run gdb with the following commands
>
> $ gdb -q -x test.gdb
> Breakpoint 1 at 0x68baf0: file
>
/home/abuild/rpmbuild/BUILD/kmymoney-5.1.99+git.1f8cd6b4b/kmymoney/main.cpp,
> line 62.
> [New Thread 11012.0x2234]
> [New Thread 11012.0x1f0c]
> [New Thread 11012.0x2220]
>
> Thread 1 hit Breakpoint 1, main (argc=1, argv=0x6e79558) at
>
/home/abuild/rpmbuild/BUILD/kmymoney-5.1.99+git.1f8cd6b4b/kmymoney/main.cpp:62
> 62
>
/home/abuild/rpmbuild/BUILD/kmymoney-5.1.99+git.1f8cd6b4b/kmymoney/main.cpp:
> No such file or directory.
> 66.4316589832
> (gdb)
>
> The startup time here is about 66 seconds.
>
> Regards
> Ralf
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-finance-apps/attachments/20210722/54cdf353/attachment.htm>


More information about the Kde-finance-apps mailing list