[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Logging Library-GSOC
From: |
Werner LEMBERG |
Subject: |
Re: Logging Library-GSOC |
Date: |
Tue, 21 Jul 2020 06:27:03 +0200 (CEST) |
> As suggested by you I have used `setvbuf()` function in
> `FT_Message()` function for printing logs on stderr in Full
> buffering mode when FT_DEBUG_LEVEL_TRACE macro is enabled. For
> FT2_DEBUG=any:7 and command:
>
> main.exe arial.ttf *qwertyuiopasdfghjklzxcvbnm *
>
> I have got the following results:
>
> FT_LOGGING: 8 sec
> FT_DEBUG_LEVEL_TRACE: 9 sec (stderr logs redirected to a file)
This looks reasonable now, thanks. I still think, however, that the
difference is mainly due to the redirection. Theoretically,
`FT_LOGGING` should be a tiny bit slower than `FT_DEBUG_LEVEL_TRACE`
since the former has a larger overhead.
What do your GNU/Linux tests show?
> I have also updated the GitHub repo containing this example @ here
> <https://github.com/Priyeshkkumar/FreeTypeExamples/tree/master/Windows/main>
Alas, I don't use Windows so I can't check this.
Werner
- Re: Logging Library-GSOC, (continued)
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/16
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/16
- Re: Logging Library-GSOC, Vincent Torri, 2020/07/16
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/16
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/17
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/18
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/18
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/18
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/18
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/18
- Re: Logging Library-GSOC,
Werner LEMBERG <=
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/21
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/22
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/24
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/25
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/31
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/31
- Re: Logging Library-GSOC, Vincent Torri, 2020/07/21
- Re: Logging Library-GSOC, Vincent Torri, 2020/07/16
- Re: Logging Library-GSOC, Werner LEMBERG, 2020/07/16
- Re: Logging Library-GSOC, Priyesh kumar, 2020/07/20