Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile compile and link #3517

Merged
merged 9 commits into from
Mar 17, 2023
Merged

Profile compile and link #3517

merged 9 commits into from
Mar 17, 2023

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Mar 16, 2023

$ XMAKE_PROFILE=perf:tag xmake -r
[ 95%]: compiling.release src/demo/math/fixed.c
[ 95%]: compiling.release src/demo/libm/float.c
[ 96%]: compiling.release src/demo/libm/double.c
[ 96%]: compiling.release src/demo/other/test.cpp
[ 98%]: archiving.release libtbox.a
[ 99%]: linking.release demo
[100%]: build ok, spent 10.64s
 0.546,       1, clang: compile src/tbox/platform/fwatcher.c
 0.400,       1, clang: compile src/tbox/libc/stdio/vswprintf.c
 0.374,       1, clang: compile src/tbox/libc/stdio/vsnprintf.c
 0.347,       1, clang: compile src/tbox/platform/poller.c
 0.337,       1, clang: compile src/tbox/stream/stream.c
 0.312,       1, clang: compile src/demo/utils/bits.c
 0.264,       1, clang: compile src/tbox/stream/static_stream.c
 0.253,       1, clang: compile src/tbox/platform/thread_pool.c
 0.231,       1, clang: compile src/tbox/platform/socket.c
 0.178,       1, clang: compile src/tbox/network/cookies.c
 0.177,       1, clang: compile src/tbox/network/http.c
 0.169,       1, clang: compile src/tbox/platform/timer.c
 0.163,       1, clang: compile src/tbox/platform/file.c

#3518

@waruqi waruqi added this to the v2.7.8 milestone Mar 16, 2023
@waruqi waruqi merged commit 0c21c9d into dev Mar 17, 2023
@waruqi waruqi deleted the profile branch March 17, 2023 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant