Flow-diverting stents (FDSs) show considerable promise for the treatment of cerebral aneurysms by diverting blood flow away from the aneurysmal sacs, however, post-treatment complications such as failure of occlusion and subarachnoid haemorrhaging remain and vary with the FDS used. Based on computational fluid dynamics (CFD), this study aimed to investigate the performance of a new biodegradable stent as compared to two metallic commercially available FDSs. CFD models were developed for an idealized cerebral artery with a sidewall aneurysmal sac treated by deploying the aforementioned stents of different porosities (90, 80, and 70 % ) respectively. By using these models, the simulation and analysis were performed, with a focus on comparing the local hemodynamics or the blood flow in the stented arteries as compared to the one without the stent deployment. For the comparison, we computed and compared the flow velocity, wall shear stress (WSS) and pressure distributions, as well as the WSS related indices, all of which are of important parameters for studying the occlusion and potential rupture of the aneurysm. Our results illustrate that the WSS decreases within the aneurysmal sac on the treated arteries, which is more significant for the stents with lower porosity or finer mesh. Our results also show that the maximum WSS near the aneurysmal neck increases regardless of the stents used. In addition, the WSS related indices including the time-average WSS, oscillatory shear index and relative residence time show different distributions, depending on the FDSs. Together, we found that the finer mesh stents provide more flow reduction and smaller region characterized by high oscillatory shear index, while the new stent has a higher relative residence time.