My intellij version is 15.0.2. But in the run context menu, there is no option regarding profiling a piece of code. 
Anyone knows what goes wrong?
The Python profiling is only available in PyCharm Professional and in the version of the Python plugin for IntelliJ IDEA Ultimate. It's not available in IntelliJ IDEA Community Edition.
python profiler not available in Intellij 15.0.2