Objective: Optimize the time of data analysis of Vital Events (births, deaths and marriages) using Threads. Methodology: A code was created in python without threads and another with threads, after He performed 5 tests with a single attribute and with 1,2,3,4,5,6,7,8 and 9 attributes this was done in both codes with the same amount of data, to know if the python code with threads is optimal when parsing Vital Facts data. Results: The python code with Threads turned out to be the most optimal since it optimized the compilation time of the 5 tests with 1 attribute by 16attributes was obtained as a result that the more attributes you group, the more effective the use of threads. Conclusion: Python code with threads is more optimal than code without threads Therefore, it is concluded that the implementation of threads is recommended in the analysis of data in similar works.
翻译:目标:利用线索优化对生命事件(出生、死亡和婚姻)的数据分析时间。方法:在他用一个属性和1,3,4,5,5,6,7,7,8和9个属性进行了5次测试之后,他用线条和1,4,4,5,5,6,7,8和9个属性对生命事件(出生、死亡和婚姻)进行了5次数据分析。方法:在用相同数量的数据对两个代码进行了测试之后,对生命事件(出生、死亡和婚姻)的数据分析时间进行了优化。结果:用线条对5次测试的Python代码进行了最佳分析,因为它优化了1个属性和1个属性的汇编时间,从而获得了更多的属性,对线索的更有效使用。结论:带线条的Python代码比没有线索的代码更理想。因此,结论是,在分析类似工作的数据时建议采用线条。