Hello!
My name is Catalin Ramascanu and I am interested in joining Inkscape for this years edition of Google Summer of Code. I am a second year student at the Faculty of Automatics and Computer Science from Bucharest, Romania and I have been using Inkscape for about a month , because currently I am working on a game application for Windows 8.I am really enjoying working with this software and I would really like to make an important contribution to this project. I have read the Inkscape wiki page regarding GSoC 2013 and I am interested in the internal work and performance improvements , specifically the startup time and initialization performance. I have also noticed the slow startup time while working with Inkscape and if it were to be improved , that would be very great. I would like know more information regarding this proposal , why does it take that long to startup and what could the problem be. I am also curios regarding the proposal "Continue C++ification" , could I receive some more information about this idea? I am very familiar with the following programming languages: C , Java , Javascript and can adapt very fast to C++.
Thank you very much for your time!
On Sat, 23 Feb 2013 23:28:19 +0200 Catalin Ramascanu <catalin.rmc@...400...> wrote:
Hello!
My name is Catalin Ramascanu and I am interested in joining Inkscape for this years edition of Google Summer of Code. I am a second year student at the Faculty of Automatics and Computer Science from Bucharest, Romania and I have been using Inkscape for about a month , because currently I am working on a game application for Windows 8.I am really enjoying working with this software and I would really like to make an important contribution to this project. I have read the Inkscape wiki page regarding GSoC 2013 and I am interested in the internal work and performance improvements , specifically the startup time and initialization performance. I have also noticed the slow startup time while working with Inkscape and if it were to be improved , that would be very great. I would like know more information regarding this proposal , why does it take that long to startup and what could the problem be. I am also curios regarding the proposal "Continue C++ification" , could I receive some more information about this idea? I am very familiar with the following programming languages: C , Java , Javascript and can adapt very fast to C++.
Thank you very much for your time!
Just launched inkscape, stopwatch in hand, and it fired up in six seconds. I use Slackware Linux 14.0, the 64 bit version. Perhaps Windows is slower.
On Sat, 2013-02-23 at 23:28 +0200, Catalin Ramascanu wrote:
Hello!
My name is Catalin Ramascanu and I am interested in joining Inkscape for this years edition of Google Summer of Code. I am a second year student at the Faculty of Automatics and Computer Science from Bucharest, Romania and I have been using Inkscape for about a month , because currently I am working on a game application for Windows 8.I am really enjoying working with this software and I would really like to make an important contribution to this project. I have read the Inkscape wiki page regarding GSoC 2013 and I am interested in the internal work and performance improvements , specifically the startup time and initialization performance. I have also noticed the slow startup time while working with Inkscape and if it were to be improved , that would be very great. I would like know more information regarding this proposal , why does it take that long to startup and what could the problem be. I am also curios regarding the proposal "Continue C++ification" , could I receive some more information about this idea? I am very familiar with the following programming languages: C , Java , Javascript and can adapt very fast to C++.
Hi Catalin,
Glad to hear you are interested in GSoC with Inkscape!
Start up time seems to be related to loading system fonts. Those with hundreds or even thousands of fonts see long start-up times. You would need to find a way of figuring out where the biggest delays are and find a way to reduce them. There are ways of doing this. To figure out where the delays are one needs to profile the code (Google for "C++ profiling"). If it really is a font-loading problem, one could load the fonts during the idle time of the main program loop rather than loading them all at the very beginning.
Another possible source for long start-up times, and slowness in general is the signaling system in Inkscape. When a change is made in one place signals are emitted so that other placed can be updated. For example, changing what is selected in the drawing emits a "selection changed" signal which causes all the dialogs to be updated. The problems is that more signals are emitted that really necessary leading to the same update code being executed multiple times. Cleaning this up, however, is something that would require a deep knowledge of how Inkscape's internal code works, probably not doable in a GSOC project.
Tav
Hello Catalin,
Some things you could do now:
1. Clone the trunk repository and build Inkscape 1.1. Use ccache to speed things up for repeated building of Inkscape
2. Have a look at random locations in the source code to get a high level understanding how things fit together.
3. Bugs/Patches:
3.1 Submit a patch for any bugs you fix from the bug tracker. You'll need a Launchpad account. 3.2 Refactor an existing bit of code by making it faster/better/cleaner/more-readable and then submit your patch. For example, I changed the usage of a g_hash_table to std::map. I think there are still some more usages of a g_hash_table in the codebase, so changing it would be a quick first patch.
4. Familiarity with libsigc++, gtkmm, bzr and the C++ STL will be very useful.
5. Once you clone the repo, generate the Doxygen documentation. I found this useful to visualise the heirarchy of the classes, and also as a reference to look up what methods I could use, etc.
@Everyone: What have I missed covering?
Samuel
On Sun, Feb 24, 2013 at 2:58 AM, Catalin Ramascanu <catalin.rmc@...400...>wrote:
Hello!
My name is Catalin Ramascanu and I am interested in joining Inkscape for this years edition of Google Summer of Code. I am a second year student at the Faculty of Automatics and Computer Science from Bucharest, Romania and I have been using Inkscape for about a month , because currently I am working on a game application for Windows 8.I am really enjoying working with this software and I would really like to make an important contribution to this project. I have read the Inkscape wiki page regarding GSoC 2013 and I am interested in the internal work and performance improvements , specifically the startup time and initialization performance. I have also noticed the slow startup time while working with Inkscape and if it were to be improved , that would be very great. I would like know more information regarding this proposal , why does it take that long to startup and what could the problem be. I am also curios regarding the proposal "Continue C++ification" , could I receive some more information about this idea? I am very familiar with the following programming languages: C , Java , Javascript and can adapt very fast to C++.
Thank you very much for your time!
Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Great tip ccache. It speed me. THanks.
-----Mensaje original----- De: Samuel Chase <samebchase@...400...> Para: Catalin Ramascanu <catalin.rmc@...400...> Cc: inkscape-devel@lists.sourceforge.net Asunto: Re: [Inkscape-devel] Interested in GSoC 2013 Fecha: Sun, 24 Feb 2013 21:26:21 +0530
Hello Catalin,
Some things you could do now:
1. Clone the trunk repository and build Inkscape
1.1. Use ccache to speed things up for repeated building of Inkscape
2. Have a look at random locations in the source code to get a high level understanding how things fit together.
3. Bugs/Patches:
3.1 Submit a patch for any bugs you fix from the bug tracker. You'll need a Launchpad account.
3.2 Refactor an existing bit of code by making it faster/better/cleaner/more-readable and then submit your patch. For example, I changed the usage of a g_hash_table to std::map. I think there are still some more usages of a g_hash_table in the codebase, so changing it would be a quick first patch.
4. Familiarity with libsigc++, gtkmm, bzr and the C++ STL will be very useful.
5. Once you clone the repo, generate the Doxygen documentation. I found this useful to visualise the heirarchy of the classes, and also as a reference to look up what methods I could use, etc.
@Everyone: What have I missed covering?
Samuel
On Sun, Feb 24, 2013 at 2:58 AM, Catalin Ramascanu <catalin.rmc@...400...> wrote: Hello!
My name is Catalin Ramascanu and I am interested in joining Inkscape for this years edition of Google Summer of Code. I am a second year student at the Faculty of Automatics and Computer Science from Bucharest, Romania and I have been using Inkscape for about a month , because currently I am working on a game application for Windows 8.I am really enjoying working with this software and I would really like to make an important contribution to this project. I have read the Inkscape wiki page regarding GSoC 2013 and I am interested in the internal work and performance improvements , specifically the startup time and initialization performance. I have also noticed the slow startup time while working with Inkscape and if it were to be improved , that would be very great. I would like know more information regarding this proposal , why does it take that long to startup and what could the problem be. I am also curios regarding the proposal "Continue C++ification" , could I receive some more information about this idea? I am very familiar with the following programming languages: C , Java , Javascript and can adapt very fast to C++.
Thank you very much for your time!
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (6)
-
Catalin Ramascanu
-
Jabier Arraiza
-
john Culleton
-
Mark Schafer
-
Samuel Chase
-
Tavmjong Bah