Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu Modified Files: main.c Log Message: Just soomething devilhorns and I are experimenting with. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- main.c 10 Mar 2006 15:17:28 -0000 1.3 +++ main.c 21 Mar 2006 01:44:50 -0000 1.4 @@ -160,6 +160,7 @@ printf("FDO kde legacy path = %s\n", (char *)fdo_paths_kde_legacy->elements[i].element); #endif + /* Just being paranoid, and cause people have removed these during testing. */ snprintf(path, sizeof(path), "%s/.e/e/applications/all", get_home()); ecore_file_mkpath(path); @@ -204,6 +205,20 @@ printf("\nTotal time %3.3f seconds, finding fdo paths %3.3f, converting fdo menus %3.3f, converting to %d (rejected %d) eaps in %d fdo menus %3.3f, generating menus %3.3f, finding icons %3.3f, generating eap caches %3.3f.\n", ecore_time_get() - start, paths, convert_time, item_count, reject_count, menu_count, gen - (icon_time + generate_time), generate_time, icon_time, cache_time); +#if 0 + /* This is just a test of parsing speed for the old weather data's huge xml file. It passed the parse test. B-) */ + { + double weather; + Dumb_Tree *weather_xml; + + begin = ecore_time_get(); + weather_xml = xmlame_get("dir.xml"); + weather = ecore_time_get() - begin; + dumb_tree_dump(weather_xml, 0); + printf("\nWeather horror parsed in %3.3f seconds.\n", weather); + } +#endif + parse_ini_shutdown(); fdo_paths_shutdown(); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs