1 |
Hello everyone, |
2 |
|
3 |
I am working on Gentoo Identity, an LDAP web UI that aims to be a |
4 |
general-usage application that will allow users - developers - |
5 |
recruiters - administrators to configure their attributes easily from |
6 |
Gentoo's LDAP server. |
7 |
|
8 |
This week, due to the mid-term evaluation, I started taking some metrics |
9 |
and do some profiling to Identity. Graphs and metrics are always useful to |
10 |
compare performance before and after optimization phase. Currently, we |
11 |
focus on making it work first, then we will focus on making it fast. |
12 |
|
13 |
Here are some first performance metrics and details of the user's profile |
14 |
page and developers list[1][2]. Because there are so many unsorted things |
15 |
there, in order to not get confused, it would be better to check only |
16 |
ncalls(function calls - first column), cumtime(cumulative time - fourth |
17 |
column) and percall(fifth column). In addition, I visualized Identity's |
18 |
models.[3]. To take these metrics I used django-extensions app, graphviz |
19 |
and django-debug-toolbar. |
20 |
|
21 |
My plans for the next week are to finish my work with user settings and do |
22 |
an in-depth research about caching. Then, I'll start to develop a caching |
23 |
plan. |
24 |
|
25 |
[1] |
26 |
http://dev.gentoo.org/~dastergon/identity/identity_index_profiling_20130804.txt |
27 |
[2] |
28 |
http://dev.gentoo.org/~dastergon/identity/identity_devlist_profiling_20130804.txt |
29 |
[3] |
30 |
http://dev.gentoo.org/~dastergon/identity/identity_g_org_models_visualized.png |
31 |
|
32 |
Source code for Gentoo Identity: |
33 |
https://github.com/gentoo/identity.gentoo.org |
34 |
|
35 |
Regards, |
36 |
Pavlos |