Cooja is a very nice tool. I do not know what you mean with "analyze layers performance" but if you need to do a profiling (function or more fine grained such as per-address) you can do it also with Cooja but "manually". If you are interesting in how to do it, just ask.