Re: [dev] [st] st 0.4 slow startup

From: Chris Down <chris_AT_chrisdown.name>
Date: Sun, 7 Apr 2013 00:56:37 +0800

On 2013-04-07 00:41, Chris Down wrote:
> On 2013-04-06 18:37, Igor Šarić wrote:
> > Here are the exact times.
>
> I'm waiting for some stuff to compile, so I'll bisect and report back unless
> someone else is already doing it.
>
> Chris

I get worse startup times, but only marginally so, so I'm probably not a good
candidate to bisect.

    ct:l:st:master$ git fetch
    ct:l:st:master$ git rebase -p
    Successfully rebased and updated refs/heads/master.
    ct:l:st:master$ git clean -dfx
    ct:l:st:master$ make
    st build options:
    CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -DVERSION="0.4" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
    LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -lutil -lXext -lXft -lfontconfig -lfreetype
    CC = cc
    cp config.def.h config.h
    CC st.c
    CC -o st
    ct:l:st:master$ time ./st -e exit

    real 0m0.068s
    user 0m0.057s
    sys 0m0.007s
    ct:l:st:master$ git reset --hard 0.3
    HEAD is now at df62d3d 0.3 release.
    ct:l:st:master$ git clean -dfx
    Removing config.h
    Removing st
    Removing st.o
    ct:l:st:master$ make
    st build options:
    CFLAGS = -g -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 -DVERSION="0.3"
    LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -lutil -lXext -lXft -lfontconfig
    CC = cc
    cp config.def.h config.h
    CC st.c
    CC -o st
    ct:l:st:master$ time ./st -e exit

    real 0m0.037s
    user 0m0.027s
    sys 0m0.007s

Chris

Received on Sat Apr 06 2013 - 18:56:37 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 06 2013 - 19:00:08 CEST