{"id":70297,"date":"2025-03-10T11:20:41","date_gmt":"2025-03-10T05:50:41","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=70297"},"modified":"2025-04-04T19:54:39","modified_gmt":"2025-04-04T14:24:39","slug":"jetpack-compose-vs-xml-layout-performance-comparison","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/","title":{"rendered":"Jetpack Compose vs. XML Layout: Performance Comparison"},"content":{"rendered":"<h1>Introduction<\/h1>\n<p>Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of\u00a0<strong>performance<\/strong>?<\/p>\n<p>In this blog, we\u2019ll analyze\u00a0<strong>CPU and memory usage\u00a0<\/strong>of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also include real profiling data and code samples for a detailed comparison.<\/p>\n<h2>1. Profiling Setup &amp; Testing Methodology<\/h2>\n<p>To analyze performance, we created two separate activities:<\/p>\n<p><strong>ComposeActivity\u00a0\u2192<\/strong> Uses Jetpack Compose for UI rendering.<br \/>\n<strong>XmlLayoutActivity\u00a0\u2192<\/strong> Uses XML-based layouts with traditional Views.<br \/>\nWe ran both activities on an\u00a0Android (Google Pixel 8, API 34)\u00a0and used\u00a0Android Profiler\u00a0to measure CPU, memory, and thread usage.<\/p>\n<h1><\/h1>\n<h2>2. CPU Usage Comparison<\/h2>\n<h3>Jetpack Compose Activity CPU Usage<\/h3>\n<div id=\"attachment_71064\" style=\"width: 539px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-71064\" class=\"size-large wp-image-71064\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot_compose-529x1024.png\" alt=\"Compose layout\" width=\"529\" height=\"1024\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-529x1024.png 529w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-155x300.png 155w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-768x1488.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-793x1536.png 793w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-1057x2048.png 1057w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_compose-624x1209.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot_compose.png 1080w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><p id=\"caption-attachment-71064\" class=\"wp-caption-text\">Compose layout<\/p><\/div>\n<div id=\"attachment_70285\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70285\" class=\"wp-image-70285 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1024x546.png\" alt=\"Compose CPU and Memory Usage\" width=\"625\" height=\"333\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1024x546.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-300x160.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-768x409.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-624x333.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105925.png 1428w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70285\" class=\"wp-caption-text\">Compose CPU and Memory Usage<\/p><\/div>\n<div id=\"attachment_70286\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70286\" class=\"wp-image-70286 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-1024x485.png\" alt=\"Compose CPU Usage\" width=\"625\" height=\"296\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-1024x485.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-300x142.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-768x364.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-1536x728.png 1536w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100221-624x296.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100221.png 1693w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70286\" class=\"wp-caption-text\">Compose CPU Usage<\/p><\/div>\n<h3>Observations:<\/h3>\n<ul>\n<li>Noticeable\u00a0CPU spikes\u00a0due to recompositions and state management.<\/li>\n<li>Slightly higher processing load when UI updates frequently.<\/li>\n<li>More background threads are active.<\/li>\n<\/ul>\n<h2>XML Layout Activity CPU Usage<\/h2>\n<div id=\"attachment_71063\" style=\"width: 539px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-71063\" class=\"size-large wp-image-71063\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot_20250325_142939-529x1024.png\" alt=\"Xml Layout\" width=\"529\" height=\"1024\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-529x1024.png 529w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-155x300.png 155w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-768x1488.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-793x1536.png 793w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-1057x2048.png 1057w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot_20250325_142939-624x1209.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot_20250325_142939.png 1080w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><p id=\"caption-attachment-71063\" class=\"wp-caption-text\">Xml Layout<\/p><\/div>\n<div id=\"attachment_70287\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70287\" class=\"wp-image-70287 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-1024x420.png\" alt=\"XML CPU Usage\" width=\"625\" height=\"256\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-1024x420.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-300x123.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-768x315.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-1536x630.png 1536w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100407-624x256.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100407.png 1708w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70287\" class=\"wp-caption-text\">XML CPU Usage<\/p><\/div>\n<div id=\"attachment_70288\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70288\" class=\"wp-image-70288 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-1024x410.png\" alt=\"XML CPU and Memory Usage\" width=\"625\" height=\"250\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-1024x410.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-300x120.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-768x308.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-1536x615.png 1536w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-100438-624x250.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-100438.png 1707w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70288\" class=\"wp-caption-text\">XML CPU and Memory Usage<\/p><\/div>\n<h3>Observations:<\/h3>\n<ul>\n<li>More\u00a0consistent CPU usage, with fewer spikes.<\/li>\n<li>XML layouts rely on View hierarchy, which is processed on the main thread.<\/li>\n<li>Less background thread usage compared to Compose.<\/li>\n<\/ul>\n<h2>Key Takeaways:<\/h2>\n<div id=\"attachment_70289\" style=\"width: 731px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70289\" class=\"wp-image-70289 size-full\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/obs1.webp\" alt=\"key Takeaways\" width=\"721\" height=\"167\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/obs1.webp 721w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/obs1-300x69.webp 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/obs1-624x145.webp 624w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><p id=\"caption-attachment-70289\" class=\"wp-caption-text\">key Takeaways<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>3. Memory Usage Comparison<\/h2>\n<h3>Jetpack Compose Activity Memory Usage<\/h3>\n<div id=\"attachment_70290\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70290\" class=\"wp-image-70290 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1-1024x546.png\" alt=\"Compose Memory Usage\" width=\"625\" height=\"333\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1-1024x546.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1-300x160.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1-768x409.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1-624x333.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105925-1.png 1428w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70290\" class=\"wp-caption-text\">Compose Memory Usage<\/p><\/div>\n<h3>Observations:<\/h3>\n<ul>\n<li>Memory consumption is\u00a0higher\u00a0due to the Compose runtime.<\/li>\n<li>Recompositions and UI updates add to memory overhead.<\/li>\n<\/ul>\n<h2>XML Layout Activity Memory Usage<\/h2>\n<div id=\"attachment_70291\" style=\"width: 635px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70291\" class=\"wp-image-70291 size-large\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105325-1024x434.png\" alt=\"XML Memory Usage\" width=\"625\" height=\"265\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105325-1024x434.png 1024w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105325-300x127.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105325-768x326.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-06-105325-624x265.png 624w, \/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-06-105325.png 1424w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><p id=\"caption-attachment-70291\" class=\"wp-caption-text\">XML Memory Usage<\/p><\/div>\n<h3>Observations:<\/h3>\n<ul>\n<li><strong>Lower memory usage\u00a0(~157MB)<\/strong> compared to Compose.<\/li>\n<li>Static Views are more memory-efficient.<\/li>\n<\/ul>\n<h3>Analysis:<\/h3>\n<div id=\"attachment_70292\" style=\"width: 928px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70292\" class=\"wp-image-70292 size-full\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/analysis.webp\" alt=\"Analysis\" width=\"918\" height=\"338\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/analysis.webp 918w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/analysis-300x110.webp 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/analysis-768x283.webp 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/analysis-624x230.webp 624w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><p id=\"caption-attachment-70292\" class=\"wp-caption-text\">Analysis<\/p><\/div>\n<ul>\n<li><strong>Compose uses more total memory\u00a0(168.4 MB vs. 157.2 MB)<\/strong>, which is expected due to the nature of the UI rendering in Compose.<\/li>\n<li><strong>Native memory usage is higher in Compose\u00a0(73.7 MB vs. 62.7 MB)<\/strong>, possibly due to increased usage of internal Compose runtime components.<\/li>\n<li><strong>Java memory is slightly lower in Compose<\/strong>\u00a0compared to XML (14.5 MB vs. 14.9 MB).<\/li>\n<li><strong>Other memory categories remain similar<\/strong>, with minimal differences in code and stack memory.<\/li>\n<\/ul>\n<p>Key Takeaways:<\/p>\n<div id=\"attachment_70293\" style=\"width: 736px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70293\" class=\"wp-image-70293 size-full\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/obs2.webp\" alt=\"Key Takeaways\" width=\"726\" height=\"128\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/obs2.webp 726w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/obs2-300x53.webp 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/obs2-624x110.webp 624w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><p id=\"caption-attachment-70293\" class=\"wp-caption-text\">Key Takeaways<\/p><\/div>\n<ul>\n<li><strong>Garbage Collection (GC)<\/strong> events\u00a0were more frequent in Compose, indicating frequent object creation.<\/li>\n<li><strong>Compose Activity<\/strong>\u00a0used slightly more memory.<\/li>\n<li><strong>XML layouts<\/strong> had a more stable memory footprint.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>4. UI Rendering &amp; Frame Rate Analysis<\/h2>\n<p>For smooth animations and UI updates, Compose can outperform XML layouts due to\u00a0smart recompositions. However, improper state handling can cause unnecessary recompositions, leading to performance drops.<\/p>\n<h3>Key Metrics to Monitor:<\/h3>\n<ul>\n<li><strong>Skipped Frames\u00a0<\/strong>(Frame Rendering Profiler).<\/li>\n<li><strong>Overdraw (GPU Rendering Profile).<\/strong><\/li>\n<li><strong>Animation Smoothness.<\/strong><\/li>\n<\/ul>\n<p>If your UI is animation-heavy, Compose will be better optimized. Otherwise, XML layouts remain more efficient.<\/p>\n<p>&nbsp;<\/p>\n<h2>5.\u00a0Code Comparison: Compose vs\u00a0XML<\/h2>\n<p>Key Differences:<\/p>\n<table style=\"border-collapse: collapse; width: 55.1973%; height: 120px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 20.0063%; height: 24px;\"><strong>Feature<\/strong><\/td>\n<td style=\"width: 16.4249%; height: 24px;\"><strong>Jetpack Compose<\/strong><\/td>\n<td style=\"width: 17.1693%; height: 24px;\"><strong>XML Layouts<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 20.0063%; height: 24px;\">Code Complexity<\/td>\n<td style=\"width: 16.4249%; height: 24px;\">\u2713 Less boilerplate<\/td>\n<td style=\"width: 17.1693%; height: 24px;\">X More verbose<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 20.0063%; height: 24px;\">Reusability<\/td>\n<td style=\"width: 16.4249%; height: 24px;\">\u2713 Easier to reuse<\/td>\n<td style=\"width: 17.1693%; height: 24px;\">X Harder to manage<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 20.0063%; height: 24px;\">UI Updates<\/td>\n<td style=\"width: 16.4249%; height: 24px;\">\u2713 Efficient<\/td>\n<td style=\"width: 17.1693%; height: 24px;\">X View invalidation needed<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 20.0063%; height: 24px;\">Performance<\/td>\n<td style=\"width: 16.4249%; height: 24px;\">X Higher CPU, Memory<\/td>\n<td style=\"width: 17.1693%; height: 24px;\">\u2713 More stable<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>6. Final Verdict: Which One Should You Use?<\/h2>\n<div id=\"attachment_70295\" style=\"width: 733px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70295\" class=\"wp-image-70295 size-full\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/veridct.webp\" alt=\"Final Verdict\" width=\"723\" height=\"327\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/veridct.webp 723w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/veridct-300x136.webp 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/veridct-624x282.webp 624w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><p id=\"caption-attachment-70295\" class=\"wp-caption-text\">Final Verdict<\/p><\/div>\n<h2><\/h2>\n<h2>7. Do\u2019s and Don\u2019ts of Jetpack Compose<\/h2>\n<div id=\"attachment_71061\" style=\"width: 935px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-71061\" class=\"size-full wp-image-71061\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-25-142429.png\" alt=\"Do\u2019s and Don\u2019ts of Jetpack Compose\" width=\"925\" height=\"403\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot-2025-03-25-142429.png 925w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-25-142429-300x131.png 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-25-142429-768x335.png 768w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-25-142429-624x272.png 624w\" sizes=\"auto, (max-width: 925px) 100vw, 925px\" \/><p id=\"caption-attachment-71061\" class=\"wp-caption-text\">Do\u2019s and Don\u2019ts of Jetpack Compose<\/p><\/div>\n<h1>8. Conclusion<\/h1>\n<ul>\n<li>If your app is\u00a0<strong>static and memory-sensitive,\u00a0stick to XML layouts.<\/strong><\/li>\n<li>If you need\u00a0<strong>dynamic UI, animations, and reactivity<\/strong>,\u00a0Jetpack Compose is the future.<\/li>\n<li><strong>For new projects<\/strong>:\u00a0Jetpack Compose is the way to go.<\/li>\n<li><strong>For existing apps<\/strong>:\u00a0XML layouts might be preferable to avoid rewrites.<\/li>\n<li><strong>Performance-conscious apps<\/strong>:\u00a0XML is currently more efficient, but Compose is improving rapidly.<\/li>\n<\/ul>\n<div id=\"attachment_70296\" style=\"width: 735px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70296\" class=\"wp-image-70296 size-full\" src=\"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/conclusion.webp\" alt=\"Conclusion\" width=\"725\" height=\"203\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2025\/03\/conclusion.webp 725w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/conclusion-300x84.webp 300w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2025\/03\/conclusion-624x175.webp 624w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><p id=\"caption-attachment-70296\" class=\"wp-caption-text\">Conclusion<\/p><\/div>\n<p>What\u2019s your experience with Compose vs XML? Share your thoughts in the comments! \ud83d\ude80<\/p>\n<p>&nbsp;<\/p>\n<h3><\/h3>\n<h2><\/h2>\n<h2><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of\u00a0performance? In this blog, we\u2019ll analyze\u00a0CPU and memory usage\u00a0of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also [&hellip;]<\/p>\n","protected":false},"author":1678,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":793,"footnotes":""},"categories":[518],"tags":[4845,6010,5518,7116],"class_list":["post-70297","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-compose","tag-kotlin","tag-profiler"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Atul Vidyasagar Mishra\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#article\",\"name\":\"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog\",\"headline\":\"Jetpack Compose vs. XML Layout: Performance Comparison\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/atul-mishra\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2025\\\/03\\\/Screenshot_compose-529x1024.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#articleImage\"},\"datePublished\":\"2025-03-10T11:20:41+05:30\",\"dateModified\":\"2025-04-04T19:54:39+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#webpage\"},\"articleSection\":\"Android, Android, compose, kotlin, Profiler\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"position\":2,\"name\":\"Android\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#listItem\",\"name\":\"Jetpack Compose vs. XML Layout: Performance Comparison\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#listItem\",\"position\":3,\"name\":\"Jetpack Compose vs. XML Layout: Performance Comparison\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/android\\\/#listItem\",\"name\":\"Android\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/atul-mishra\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/atul-mishra\\\/\",\"name\":\"Atul Vidyasagar Mishra\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/b702b80b-6fa4-413a-87a3-f9265f3954a8_Atul-Vidyasagar-Mishra-Profile-Pitcure.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Atul Vidyasagar Mishra\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/\",\"name\":\"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog\",\"description\":\"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\\u2019s Profiler. We\\u2019ll also\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/jetpack-compose-vs-xml-layout-performance-comparison\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/atul-mishra\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/atul-mishra\\\/#author\"},\"datePublished\":\"2025-03-10T11:20:41+05:30\",\"dateModified\":\"2025-04-04T19:54:39+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog","description":"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also","canonical_url":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#article","name":"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog","headline":"Jetpack Compose vs. XML Layout: Performance Comparison","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/atul-mishra\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/2thenew.online\/blog\/wp-ttn-blog\/uploads\/2025\/03\/Screenshot_compose-529x1024.png","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#articleImage"},"datePublished":"2025-03-10T11:20:41+05:30","dateModified":"2025-04-04T19:54:39+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#webpage"},"articleSection":"Android, Android, compose, kotlin, Profiler"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","name":"Android"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","position":2,"name":"Android","item":"https:\/\/2thenew.online\/blog\/category\/android\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#listItem","name":"Jetpack Compose vs. XML Layout: Performance Comparison"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#listItem","position":3,"name":"Jetpack Compose vs. XML Layout: Performance Comparison","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/android\/#listItem","name":"Android"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/atul-mishra\/#author","url":"https:\/\/2thenew.online\/blog\/author\/atul-mishra\/","name":"Atul Vidyasagar Mishra","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/b702b80b-6fa4-413a-87a3-f9265f3954a8_Atul-Vidyasagar-Mishra-Profile-Pitcure.jpeg","width":96,"height":96,"caption":"Atul Vidyasagar Mishra"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#webpage","url":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/","name":"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog","description":"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/atul-mishra\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/atul-mishra\/#author"},"datePublished":"2025-03-10T11:20:41+05:30","dateModified":"2025-04-04T19:54:39+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog","og:description":"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also","og:url":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Jetpack Compose vs. XML Layout: Performance Comparison | TO THE NEW Blog","twitter:description":"Introduction Android UI development has evolved significantly with the introduction of Jetpack Compose. While XML-based layouts have been the standard for years, Compose offers a modern declarative approach. But how do they compare in terms of performance? In this blog, we\u2019ll analyze CPU and memory usage of Jetpack Compose vs. XML layouts using Android Studio\u2019s Profiler. We\u2019ll also","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"70297","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2025-03-06 08:52:12","updated":"2025-04-04 14:24:40","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/android\/\" title=\"Android\">Android<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJetpack Compose vs. XML Layout: Performance Comparison\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Android","link":"https:\/\/2thenew.online\/blog\/category\/android\/"},{"label":"Jetpack Compose vs. XML Layout: Performance Comparison","link":"https:\/\/2thenew.online\/blog\/jetpack-compose-vs-xml-layout-performance-comparison\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/70297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/1678"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=70297"}],"version-history":[{"count":5,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/70297\/revisions"}],"predecessor-version":[{"id":71416,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/70297\/revisions\/71416"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=70297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=70297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=70297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}