-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Added LuaJIT profiling support (lulip), better cmdline option handling. #204
Conversation
hrm , could you rebase on the current master? also it would be better to move lulip module after koreader-base refactoring is done :) it looks great 👍 |
Conflicts: koreader_kobo.sh
Did a merge instead of a rebase, I'm not very used to git yet :P |
if ARGV[1] == "-h" then | ||
return showusage() | ||
end | ||
DEBUG = function() end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hrm, turns out that you cannot over write DEBUG function by default, you will never be able to turn it on back later ;p
Hm, sorry, I was sure I had tested it, but I had only checked the ev.log, and forgot to see stdout. I will fix that. |
Done, fixed. I also had to apply the patch from your pull request #208 to be able to test, but I did not push it into my fork. |
nice work! the output even have syntax highlight, haha |
Added LuaJIT profiling support (lulip), better cmdline option handling.
Proper regal waveform support on the PW2
Added the profiler, as discussed in issue #200. I still need to work in
getAutoBBox
before closing the issue. I will work on it later today or tomorrow when I get some time.