> And do notice slightly increased total time:
> 
> w/ rgb24_index[]
> 
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.62s user 2.02s system 
> 31% cpu 14.674 total
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.64s user 2.12s system 
> 31% cpu 14.933 total
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.67s user 2.08s system 
> 31% cpu 14.870 total
> 
> w/o rgb24_index[]
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.56s user 2.16s system 
> 31% cpu 14.817 total
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.57s user 2.28s system 
> 32% cpu 15.168 total
> ( for i in {1..100}; do; 24-bit-color.sh; done; )  2.52s user 2.42s system 
> 31% cpu 15.472 total
> 
> It looks the more rgb24_index[] lookups increased cacheline footprint
> of urxvt, which in turn increased system time.

Sorry: s/rgb24_index/rgb24_color/

Thanks,
Fengguang

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to