Your Trusted B2B Sourcing Platform About | Help | Sign In | Post Request
Buying Guide

The Complete Guide to CNC Machining Cost Per Part: How to Calculate, Compare, and Negotiate with Chinese Suppliers

Understanding the True Cost of CNC Machining Per Part

When sourcing CNC machined parts from China, the CNC machining cost per part is rarely a simple number. It is the sum of several distinct cost drivers, each influenced by your design, material choice, batch size, and supplier capabilities. In this guide, we break down these drivers, provide a step-by-step calculation framework, benchmark typical rates, and offer negotiation tactics to help you achieve the best value without compromising quality.

Key Cost Drivers in CNC Machining

Understanding what goes into the per-part cost is essential for accurate comparison and negotiation. Here are the primary factors:

  • Machine Hourly Rate: The cost of running a CNC machine per hour, which includes depreciation, maintenance, energy, and operator labor. In China, this typically ranges from $8 to $30 per hour depending on machine type (e.g., 3-axis vs. 5-axis) and precision.
  • Material Cost and Markup: The raw material price plus a markup for handling and scrap. Aluminum, steel, and plastics have different base costs, and suppliers often add 10-20% to cover waste.
  • Setup and Changeover: The time to prepare the machine, fixtures, and tooling for your specific part. This is a fixed cost per batch, so it significantly impacts small batch runs.
  • Tolerance and Complexity: Tighter tolerances (e.g., ±0.01 mm) require more machining time, specialized tooling, and additional inspection, increasing cost.
  • Surface Finish: Anodizing, plating, or polishing add cost, but they may be necessary for functionality or aesthetics.
  • Batch Size: Larger quantities allow for economies of scale, reducing the per-part cost as fixed costs are spread over more units.

Step-by-Step Framework to Calculate Per-Part Cost

To estimate the CNC machining cost per part, follow this practical framework. You can also use a CNC machining cost per part calculator to automate the process, but understanding the math helps you validate supplier quotes.

  1. Estimate Machining Time: Calculate the total machining time per part (cutting time + tool change + idle time). For example, a simple aluminum bracket might take 15 minutes, while a complex steel part could take 1 hour.
  2. Determine Machine Hourly Rate: Ask your supplier for their hourly rate. In China, a standard 3-axis CNC machine might be $15/hour, while a 5-axis machine could be $30/hour.
  3. Calculate Machining Cost: Multiply machining time by the hourly rate. For a 0.25-hour part at $15/hour, the machining cost is $3.75.
  4. Add Material Cost: Get the raw material price per kg and multiply by part weight, plus a scrap factor (e.g., 1.2). For an aluminum part weighing 0.5 kg at $3/kg, material cost = 0.5 * 3 * 1.2 = $1.80.
  5. Add Setup Cost per Part: If setup costs $150 and you order 100 parts, add $1.50 per part.
  6. Add Surface Treatment and Other Finishing: For example, anodizing might cost $0.50 per part.
  7. Sum Up: Total per-part cost = machining + material + setup + finishing. In our example: $3.75 + $1.80 + $1.50 + $0.50 = $7.55.

This is a simplified estimate. Actual quotes will vary, but this framework gives you a baseline for comparison.

Benchmark Rates: China vs. Western Suppliers

One of the main reasons buyers turn to Chinese suppliers is cost savings. Below is a benchmark table based on industry data and our directory's observed price range of $2.8 to $12 per part for typical brackets and mounting plates.

Cost ComponentChina (Typical)Western (Typical)
Machine Hourly Rate (3-axis)$8–$20$50–$100
Material Markup10–15%20–30%
Setup Cost (per batch)$50–$200$200–$500
Surface Finishing (anodizing)$0.30–$1.00 per part$1.00–$3.00 per part
Overall Per-Part Cost (simple part)$2.80–$7.00$10.00–$25.00

These are indicative figures; actual costs depend on your specific requirements. The key takeaway: Chinese suppliers can offer significant savings, but you must ensure quality and reliability.

How to Use a CNC Machining Cost Per Part Calculator

A CNC machining cost per part calculator is a valuable tool for quick estimates. Many online calculators allow you to input material, dimensions, quantity, and finish to get an approximate cost. However, use them as a screening tool, not a definitive quote. Always cross-check with detailed supplier quotes, as calculators often assume standard tolerances and don't account for specific machine capabilities.

Negotiation Tactics to Reduce Per-Unit Costs

Negotiating with Chinese suppliers can be effective if you approach it strategically. Here are proven tactics:

  • Optimize Design for Manufacturability (DFM): Simplify features, reduce tight tolerances, and avoid deep cavities. A DFM review can cut costs by 20-30%.
  • Increase Batch Size: Consolidate orders or commit to a longer-term contract to lower the per-part setup cost.
  • Standardize Materials: Use common materials like 6061 aluminum or 304 stainless steel to avoid specialty procurement costs.
  • Bundle Finishing Services: If you need anodizing or plating, ask for a combined quote to save on logistics.
  • Request a Detailed Breakdown: Ask for a line-item quote showing material, machining, setup, and finishing costs. This transparency helps you identify and negotiate on inflated components.
  • Leverage Competitive Quotes: Get quotes from multiple suppliers and use them to negotiate, but be fair—don't drive prices below sustainable levels, as it may lead to quality issues.

Red Flags to Watch For

While many Chinese suppliers are excellent, it's crucial to be vigilant. Watch for these red flags:

  • Unrealistically Low Quotes: If a quote is significantly lower than others, it may indicate inferior materials or hidden costs.
  • Vague Cost Breakdowns: Suppliers who can't or won't itemize costs may be hiding fees.
  • Poor Communication: Slow responses or unclear English can lead to misunderstandings and errors.
  • Lack of Certifications: ISO 9001 or IATF 16949 certifications indicate quality management. Their absence is a concern.
  • No Quality Control Process: Ask about their inspection procedures and whether they provide inspection reports.

Questions to Ask Suppliers Before Ordering

To ensure you get accurate pricing and quality, ask these questions:

  • What is your machine hourly rate for the required machine type?
  • Can you provide a detailed cost breakdown per part?
  • What is your typical setup cost for this type of part?
  • What tolerances can you guarantee? Do you charge extra for tighter tolerances?
  • What material sourcing do you use? Do you provide material certificates?
  • What surface finish options do you offer, and what are their costs?
  • How do you handle quality control? Will you provide inspection reports?
  • What is your lead time for prototypes and mass production?
  • Do you have any minimum order quantity (MOQ)?

Practical Checklist for Evaluating Suppliers

Use this checklist to compare suppliers and make an informed decision:

CriteriaChecklist
Technical CapabilityMachine types (3-axis, 5-axis), max part size, materials handled.
Quality AssuranceISO certifications, inspection equipment, QC process.
Cost TransparencyDetailed quote with breakdown, no hidden fees.
CommunicationResponsive, clear English, technical knowledge.
Lead TimePrototype and production lead times, ability to meet deadlines.
ReferencesClient testimonials, case studies, or samples.
Location and LogisticsShipping options, export experience, Incoterms.

Real-World Examples from Our Directory

To illustrate, our directory lists verified suppliers offering products like Automotive Control Arm Bracket and Aluminum Rail Mounting Plate, with unit prices ranging from $2.8 to $12. These parts demonstrate typical cost variations based on complexity and material. For instance, a simple steel hinge bracket might be at the lower end, while a complex aluminum bracket with tight tolerances could be at the higher end.

Frequently Asked Questions

Q: How accurate is a CNC machining cost per part calculator?
A: Calculators provide a rough estimate based on standard assumptions. They are useful for initial budgeting, but for precise pricing, request detailed quotes from suppliers, as actual costs depend on many variables.

Q: What is the typical setup cost for CNC machining in China?
A: Setup costs vary by supplier and part complexity. In China, setup costs typically range from $50 to $200 per batch. For small batches, this can be a significant portion of the per-part cost.

Q: How can I reduce the cost per part for small batches?
A: For small batches, consider simplifying your design, using standard materials, and combining multiple parts into one order to amortize setup costs. Also, negotiate with suppliers to waive or reduce setup fees for repeat orders.

Conclusion

Mastering the CNC machining cost per part is essential for successful sourcing from China. By understanding the cost drivers, using a calculator as a screening tool, and applying negotiation tactics, you can achieve significant savings while maintaining quality. Always vet suppliers thoroughly and ask the right questions to avoid pitfalls. With the right approach, you can turn cost management into a competitive advantage.

Close-up of hands adjusting a CNC machine using wrenches in an industrial setting. (Photo: cottonbro studio / Pexels)
Spacious industrial workshop featuring a crane and heavy machinery in Konya, Türkiye. (Photo: Cemrecan Yurtman / Pexels)

Ready to source from verified suppliers? Get free quotes and compare offers within 24 hours.

Frequently Asked Questions

How accurate is a CNC machining cost per part calculator?

Calculators provide a rough estimate based on standard assumptions. They are useful for initial budgeting, but for precise pricing, request detailed quotes from suppliers, as actual costs depend on many variables.

What is the typical setup cost for CNC machining in China?

Setup costs vary by supplier and part complexity. In China, setup costs typically range from $50 to $200 per batch. For small batches, this can be a significant portion of the per-part cost.

How can I reduce the cost per part for small batches?

For small batches, consider simplifying your design, using standard materials, and combining multiple parts into one order to amortize setup costs. Also, negotiate with suppliers to waive or reduce setup fees for repeat orders.

Ready to Get Your CNC Parts Made in China

Get matched with verified suppliers who can meet your exact specifications.

Get Free Quotes
基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-09-28 08:09:59 HTTP/2.0 GET : https://cnc-parts-china.com/guides/the-complete-guide-to-cnc-machining-cost-per-part-how-to-calculate-compare-and-negotiate-with-chinese-suppliers
  2. 运行时间 : 0.095172s [ 吞吐率:10.51req/s ] 内存消耗:5,222.62kb 文件加载:153
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=e0107d24f5fbeb64595debb938176eb3
  1. /www/wwwroot/www.cnc-parts-china.com/public/index.php ( 0.79 KB )
  2. /www/wwwroot/www.cnc-parts-china.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/www.cnc-parts-china.com/vendor/composer/autoload_static.php ( 6.03 KB )
  7. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/www.cnc-parts-china.com/vendor/ralouphie/getallheaders/src/getallheaders.php ( 1.60 KB )
  14. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  17. /www/wwwroot/www.cnc-parts-china.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php ( 0.10 KB )
  18. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  19. /www/wwwroot/www.cnc-parts-china.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  20. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  21. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  22. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  23. /www/wwwroot/www.cnc-parts-china.com/app/provider.php ( 0.19 KB )
  24. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Http.php ( 6.22 KB )
  25. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  26. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  27. /www/wwwroot/www.cnc-parts-china.com/app/common.php ( 0.90 KB )
  28. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/helper.php ( 18.77 KB )
  29. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Config.php ( 5.93 KB )
  30. /www/wwwroot/www.cnc-parts-china.com/config/app.php ( 0.95 KB )
  31. /www/wwwroot/www.cnc-parts-china.com/config/cache.php ( 0.78 KB )
  32. /www/wwwroot/www.cnc-parts-china.com/config/console.php ( 1.07 KB )
  33. /www/wwwroot/www.cnc-parts-china.com/config/cookie.php ( 0.56 KB )
  34. /www/wwwroot/www.cnc-parts-china.com/config/database.php ( 2.13 KB )
  35. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  36. /www/wwwroot/www.cnc-parts-china.com/config/filesystem.php ( 0.61 KB )
  37. /www/wwwroot/www.cnc-parts-china.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/www.cnc-parts-china.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/www.cnc-parts-china.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/www.cnc-parts-china.com/config/route.php ( 2.27 KB )
  41. /www/wwwroot/www.cnc-parts-china.com/config/session.php ( 0.69 KB )
  42. /www/wwwroot/www.cnc-parts-china.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/www.cnc-parts-china.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/www.cnc-parts-china.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Event.php ( 7.77 KB )
  46. /www/wwwroot/www.cnc-parts-china.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/www.cnc-parts-china.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/www.cnc-parts-china.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  57. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.20 KB )
  68. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.75 KB )
  69. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.30 KB )
  72. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/www.cnc-parts-china.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/helper/Arr.php ( 17.45 KB )
  81. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.02 KB )
  83. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/www.cnc-parts-china.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Request.php ( 54.64 KB )
  86. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/UrlHandler.php ( 6.05 KB )
  87. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/DomainHandler.php ( 5.49 KB )
  88. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/traits/HttpMethodHandler.php ( 4.74 KB )
  89. /www/wwwroot/www.cnc-parts-china.com/app/middleware.php ( 0.30 KB )
  90. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  91. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  92. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  93. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  94. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  95. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  96. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  97. /www/wwwroot/www.cnc-parts-china.com/app/middleware/InstallCheck.php ( 0.82 KB )
  98. /www/wwwroot/www.cnc-parts-china.com/app/middleware/Maintenance.php ( 1.64 KB )
  99. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  100. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.73 KB )
  101. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 53.74 KB )
  102. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  103. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  104. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  105. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.07 KB )
  106. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  107. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Query.php ( 15.97 KB )
  108. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  109. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  110. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  111. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  112. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  113. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  114. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  115. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  116. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  117. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  118. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.10 KB )
  119. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  120. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  121. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  122. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  123. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.74 KB )
  124. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  125. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.41 KB )
  126. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Rule.php ( 27.49 KB )
  127. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  128. /www/wwwroot/www.cnc-parts-china.com/route/admin.php ( 11.49 KB )
  129. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  130. /www/wwwroot/www.cnc-parts-china.com/route/app.php ( 3.73 KB )
  131. /www/wwwroot/www.cnc-parts-china.com/route/install.php ( 0.59 KB )
  132. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  133. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 11.32 KB )
  134. /www/wwwroot/www.cnc-parts-china.com/app/controller/content/Guide.php ( 1.71 KB )
  135. /www/wwwroot/www.cnc-parts-china.com/app/controller/front/BaseFrontController.php ( 70.19 KB )
  136. /www/wwwroot/www.cnc-parts-china.com/app/BaseController.php ( 6.06 KB )
  137. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  138. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  139. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  140. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  141. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  142. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  143. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-orm/src/db/Raw.php ( 1.30 KB )
  144. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Response.php ( 9.07 KB )
  145. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  146. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  147. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  148. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  149. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  150. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  151. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  152. /www/wwwroot/www.cnc-parts-china.com/runtime/temp/7ca10c289ae36b7629e662dcf2e3aff0.php ( 14.04 KB )
  153. /www/wwwroot/www.cnc-parts-china.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000583s ] mysql:host=127.0.0.1;port=3306;dbname=cncpartsch;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `kt_system_config` [ RunTime:0.001332s ]
  3. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'maintenance_mode' LIMIT 1 [ RunTime:0.000482s ]
  4. SHOW TABLES LIKE 'kt_site' [ RunTime:0.001450s ]
  5. SHOW FULL COLUMNS FROM `kt_site` [ RunTime:0.001533s ]
  6. SELECT `favicon` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000455s ]
  7. SHOW TABLES LIKE 'kt_system_config' [ RunTime:0.001030s ]
  8. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_favicon' LIMIT 1 [ RunTime:0.000448s ]
  9. SELECT `logo` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000234s ]
  10. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_logo' LIMIT 1 [ RunTime:0.000235s ]
  11. SELECT `name` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000192s ]
  12. SELECT * FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000353s ]
  13. SELECT `config_value`,`config_key` FROM `kt_system_config` WHERE `config_key` IN ('site_name','site_domain','site_subtitle','site_description','site_logo','site_favicon','site_keywords','seo_home_title','seo_home_description','seo_home_keywords','contact_phone','contact_wechat','icp_code') [ RunTime:0.000345s ]
  14. SHOW FULL COLUMNS FROM `kt_category` [ RunTime:0.001275s ]
  15. SHOW COLUMNS FROM `kt_category` [ RunTime:0.001012s ]
  16. SELECT * FROM `kt_category` WHERE `parent_id` = 0 AND `site_id` = 1 AND `status` = 1 ORDER BY `sort` DESC,`id` ASC LIMIT 5 [ RunTime:0.000545s ]
  17. SHOW FULL COLUMNS FROM `kt_news` [ RunTime:0.001327s ]
  18. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `slug` = 'the-complete-guide-to-cnc-machining-cost-per-part-how-to-calculate-compare-and-negotiate-with-chinese-suppliers' AND `content_type` = 'buying_guide' AND `publish_status` = 'published' LIMIT 1 [ RunTime:0.000641s ]
  19. UPDATE `kt_news` SET `views` = `views` + 1 WHERE `id` = 244 [ RunTime:0.001931s ]
  20. SHOW FULL COLUMNS FROM `kt_news_data` [ RunTime:0.001224s ]
  21. SELECT * FROM `kt_news_data` WHERE `news_id` = 244 LIMIT 1 [ RunTime:0.000417s ]
  22. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `publish_status` = 'published' AND `category_id` = 80 AND `id` <> 244 AND `content_type` IN ('article','buying_guide','comparison','case_study') ORDER BY content_type = 'buying_guide' DESC,`id` DESC LIMIT 8 [ RunTime:0.001152s ]
0.103071s