Commit Graph

8 Commits

Author SHA1 Message Date
Rafael Antognolli 8ef623d3b5 evas/cserve2: The slave should measure the time spent
loading glyphs.
Instead of measuring the time spent by the server between asking and
receiving the glyphs rendered, we measure now the time spent by the
slave to load the glyph, and then to render it, and then we report this
time to the server.



SVN revision: 73373
2012-07-05 18:42:22 +00:00
Rafael Antognolli a6a92632b0 evas/cserve2: Calculate average time saved on glyph
rendering.



SVN revision: 72829
2012-06-25 20:06:50 +00:00
Rafael Antognolli 2234422dab evas/cserve2: Add entries loading saved time.
Still must add glyphs loading saved time.



SVN revision: 72828
2012-06-25 20:06:44 +00:00
Rafael Antognolli 6a3abcaa89 evas/cserve2: Add image size and loading time stats.
SVN revision: 72812
2012-06-25 14:40:30 +00:00
Rafael Antognolli e09a542403 evas/cserve2: Rename some stats and add some more for font
loading.



SVN revision: 72704
2012-06-22 21:43:50 +00:00
Rafael Antognolli 64fecc2fab evas/cserve2: Add font and glyphs loading implementation
to cserve2.
Big commit that implements the entire functionality. Besides loading
fonts and glyphs, and sharing the glyph bitmaps with clients, it also
adds:
- new request system, with a much better abstraction;
- new working slaves management;
- slaves can be threads or process now;
- started a debugging and statistics implementation on server.

The image caching part still uses the old request and slaves system, but
should be changed to use the new one soon and get more easily
maintainable.



SVN revision: 72699
2012-06-22 20:31:17 +00:00
Rafael Antognolli 9398a60c22 evas/cserve2: Adding message structs for font rendering
communication.



SVN revision: 71360
2012-05-23 18:09:57 +00:00
Iván Briano 15328efb85 evas/cserve2: fix typo that kept cserve2 disabled
now seriously...

Introducing Cache Serve 2.

This cache server will initially load images for clients connected to
it. It starts slave processes to load these images, and share the loaded
images through shm with the clients. All the connection done between
clients and the server goes through sockets.

The cserve2 build option is turned on by default, while the old cserve
was disabled, but in order to make clients use it, the environment
variable EVAS_CSERVE2 must be set, and a server must be running.

Clients will try to find the socket on a specified location using the
environment variable EVAS_CSERVE2_SOCKET. If it's not defined, then the
XDG_RUNTIME_DIR path should be used, and finally HOME, TMPDIR and /tmp.



SVN revision: 70699
2012-05-03 21:01:31 +00:00