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

How to Accurately Calculate CNC Machining Cost Per Part: A Buyer’s Guide to Quoting and Negotiation

Understanding the True Cost of CNC Machining Per Part

When sourcing CNC machined parts from Chinese manufacturers, the price per part is rarely a simple number. It is the sum of several distinct cost drivers that savvy buyers must understand to negotiate effectively. This guide breaks down each component—from material premiums to setup hours—and provides a step-by-step framework to help you calculate a realistic cost per part, avoid hidden fees, and compare quotes transparently.

Our supplier directory currently lists 1 verified supplier and 4 CNC machining products in this category, including an Automotive Control Arm Bracket, Construction Steel Hinge Bracket, Aluminum Rail Mounting Plate, and Heavy-Duty Steel Locking Bracket. Observed unit prices range from $2.80 to $12.00, reflecting the wide variance in material, complexity, and finish. By the end of this guide, you'll be able to estimate where your part falls in that range—and why.

Interior view of a modern brewery showcasing stainless steel fermentation tanks. (Photo: cottonbro studio / Pexels)

Key Cost Drivers in CNC Machining

Material Costs and Premiums

Material is often 20-40% of the total part cost. Raw material prices fluctuate, but suppliers typically add a 10-20% premium for sourcing, cutting, and handling. For example, aluminum 6061 costs roughly $2.50-$3.50 per kg, while stainless steel 304 is $4.50-$6.50 per kg. Engineering plastics like POM (Delrin) range from $2.00-$4.00 per kg. Always ask for the material grade and the base price per kg—then calculate the material cost per part based on the final part weight plus 10-20% scrap allowance.

Setup and Programming Hours

Setup includes programming, fixturing, and machine calibration. For simple parts, setup may take 1-2 hours; for complex 5-axis parts, it can exceed 8 hours. Suppliers often charge $50-$100 per hour for setup. This cost is amortized over the order quantity—so larger orders reduce the per-part setup cost significantly. Always request a setup fee quote separately to understand its impact.

Machining Time and Cycle Time

Machining time is the largest variable. It depends on part geometry, material hardness, and required tolerances. A simple bracket might take 5-10 minutes; a complex housing could take 30-60 minutes. Machine hourly rates vary: 3-axis mills $40-$80/hour, 5-axis mills $80-$150/hour, and CNC lathes $50-$90/hour. Multiply the cycle time by the hourly rate to get the machining cost per part.

Tooling Wear and Consumables

Tool wear is often overlooked. Harder materials like stainless steel wear tools faster, increasing tooling cost. Suppliers typically include a tooling cost of 2-5% of machining cost, but for high-volume runs, negotiate a separate tooling fee to avoid inflated per-part rates.

Surface Finish and Tolerance Requirements

Tighter tolerances (e.g., ±0.01mm) require slower speeds, more passes, and additional inspection, increasing cost by 10-30%. Surface finishes like anodizing, powder coating, or plating add $5-$20 per part depending on size and complexity. Always specify your required finish and tolerance in the RFQ to get accurate pricing.

Step-by-Step Cost Calculation Framework

  1. Estimate material cost: Part weight (kg) × material price per kg × (1 + scrap allowance).
  2. Calculate machining cost: Cycle time (hours) × machine hourly rate.
  3. Add tooling and consumables: 2-5% of machining cost, or a quoted flat fee.
  4. Include setup cost: Setup hours × hourly rate ÷ order quantity.
  5. Add surface finish and secondary operations: Quote per part.
  6. Sum all costs: This is your base cost per part.
  7. Apply supplier overhead and profit margin: Typically 10-30%.

Let's illustrate with an example: An aluminum 6061 bracket weighing 0.5 kg. Material: $1.50 (0.5 × $3.00 × 1.15). Machining: 10 minutes (0.167h) at $60/h = $10.02. Tooling: $0.30. Setup: 2 hours at $75/h = $150 ÷ 100 parts = $1.50. Surface finish (anodizing): $5.00. Subtotal: $18.32. Overhead and profit (20%): $3.66. Total: $21.98 per part. This matches typical quotes for similar parts.

Close-up of a laser cutter in an industrial factory, showcasing modern manufacturing technology. (Photo: Cemrecan Yurtman / Pexels)

Typical Cost Ranges for Common Materials

MaterialPrice per kg (USD)Machining DifficultyTypical Part Cost Range (small/medium)
Aluminum 6061$2.50 - $3.50Low$5 - $20
Stainless Steel 304$4.50 - $6.50Medium$10 - $40
POM (Delrin)$2.00 - $4.00Low$3 - $15
Steel (mild)$1.50 - $2.50Low$4 - $18

These ranges are based on typical quotes for parts weighing 0.1-1 kg with standard tolerances. Complex geometries or tight tolerances will push costs higher.

Red Flags to Watch in Supplier Quotes

  • Unusually low per-part price: If a quote is 30% lower than others, it may indicate lower quality materials or hidden charges later.
  • Vague breakdown: A supplier who cannot itemize material, machining, and setup costs may be inflating margins.
  • Excessive setup fees: Setup should be proportional to complexity; a simple part should not have a $500 setup fee.
  • No tolerance or finish specification: If the quote doesn't mention tolerance or surface finish, you may receive parts that don't meet your specs.
  • Minimum order quantity (MOQ) pressure: Be wary of suppliers pushing large MOQs to reduce per-part cost but increasing your inventory risk.

Questions to Ask Suppliers Before Ordering

  1. Can you provide a detailed cost breakdown per part, including material, machining, setup, and finishing?
  2. What is your machine hourly rate, and how do you calculate cycle time?
  3. Do you include tooling wear in the per-part cost, or is it a separate fee?
  4. What is the tolerance and surface finish standard you guarantee?
  5. How do you handle scrap and rework? Is there a cost for defective parts?
  6. What is your MOQ, and how does setup cost amortize across different quantities?
  7. Can you share references or case studies for similar parts?

Practical Checklists for Procurement Teams

RFQ Checklist

  • Provide a complete 3D model (STEP/IGES) and 2D drawing with tolerances.
  • Specify material grade, finish, and any certifications (e.g., ISO, RoHS).
  • Indicate estimated annual volume and order frequency.
  • Ask for a cost breakdown template.
  • Request lead time and shipping costs separately.

Supplier Evaluation Checklist

  • Verify supplier credentials (ISO 9001, etc.).
  • Ask for sample parts or a pilot run.
  • Check their equipment list (3-axis vs 5-axis, number of machines).
  • Evaluate communication responsiveness.
  • Request a list of existing clients in your industry.

Using a CNC Machining Cost Per Part Calculator

To streamline your estimation, consider using a CNC machining cost per part calculator—a tool that inputs material, dimensions, and cycle time to output a preliminary cost. While not a substitute for detailed quoting, it gives you a baseline to compare supplier quotes. When using such a calculator, ensure it accounts for setup and finishing, as many free tools only cover material and machining.

Negotiation Strategies with Chinese Suppliers

Chinese manufacturers are often open to negotiation, but they respond best to volume commitments and clear specifications. Here are proven tactics:

  • Bundle multiple parts: If you have several parts, combine them in one order to reduce setup costs per part.
  • Offer annual volume forecasts: Suppliers may lower per-part prices for guaranteed yearly quantities.
  • Negotiate setup separately: For repeat orders, ask for reduced setup fees.
  • Request alternative materials: Sometimes a slight change (e.g., from stainless to aluminum) can cut costs significantly.
  • Be transparent about your target price: Share your budget, but be realistic based on your cost calculation.

Conclusion

Accurately calculating the CNC machining cost per part requires a clear understanding of all cost drivers. By using a step-by-step framework, asking the right questions, and watching for red flags, you can negotiate transparent pricing with Chinese suppliers. Remember, the lowest quote isn't always the best value—focus on total cost of ownership, including quality and reliability.

For a quick estimate, use a CNC machining cost per part calculator as a starting point, but always validate with detailed quotes from multiple suppliers. Our directory of verified suppliers can help you find reliable partners. With the right approach, you'll secure fair pricing and high-quality parts for your projects.

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

Frequently Asked Questions

What is the most accurate way to calculate CNC machining cost per part?

The most accurate method is to break down costs into material (weight × price per kg plus scrap), machining time (cycle time × machine hourly rate), tooling wear, setup amortized over order quantity, and surface finishing. Sum these, then add supplier overhead and profit margin. Using a CNC machining cost per part calculator can help, but always validate with a detailed quote.

Why do CNC machining quotes from Chinese suppliers vary so much?

Variation comes from differences in material sourcing, machine hourly rates, setup fees, tooling costs, and overhead. Some suppliers may also include hidden charges or use lower-quality materials. Always ask for a detailed cost breakdown and compare apples to apples.

How can I reduce the CNC machining cost per part when ordering from China?

Increase order quantity to amortize setup costs, simplify part design to reduce machining time, consider alternative materials, bundle multiple parts, and negotiate setup fees separately. Also, providing clear specifications and a complete 3D model reduces quoting errors and rework.

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:45 HTTP/2.0 GET : https://cnc-parts-china.com/guides/how-to-accurately-calculate-cnc-machining-cost-per-part-a-buyers-guide-to-quoting-and-negotiation
  2. 运行时间 : 0.100232s [ 吞吐率:9.98req/s ] 内存消耗:5,223.05kb 文件加载:153
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=1653b07ea2816539b38c8dccfe51e64b
  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.000622s ] mysql:host=127.0.0.1;port=3306;dbname=cncpartsch;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `kt_system_config` [ RunTime:0.001354s ]
  3. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'maintenance_mode' LIMIT 1 [ RunTime:0.000525s ]
  4. SHOW TABLES LIKE 'kt_site' [ RunTime:0.001501s ]
  5. SHOW FULL COLUMNS FROM `kt_site` [ RunTime:0.001731s ]
  6. SELECT `favicon` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000542s ]
  7. SHOW TABLES LIKE 'kt_system_config' [ RunTime:0.000975s ]
  8. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_favicon' LIMIT 1 [ RunTime:0.000429s ]
  9. SELECT `logo` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000253s ]
  10. SELECT `config_value` FROM `kt_system_config` WHERE `config_key` = 'site_logo' LIMIT 1 [ RunTime:0.000364s ]
  11. SELECT `name` FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000245s ]
  12. SELECT * FROM `kt_site` ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000383s ]
  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.000461s ]
  14. SHOW FULL COLUMNS FROM `kt_category` [ RunTime:0.001353s ]
  15. SHOW COLUMNS FROM `kt_category` [ RunTime:0.001004s ]
  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.000726s ]
  17. SHOW FULL COLUMNS FROM `kt_news` [ RunTime:0.001437s ]
  18. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `slug` = 'how-to-accurately-calculate-cnc-machining-cost-per-part-a-buyers-guide-to-quoting-and-negotiation' AND `content_type` = 'buying_guide' AND `publish_status` = 'published' LIMIT 1 [ RunTime:0.000744s ]
  19. UPDATE `kt_news` SET `views` = `views` + 1 WHERE `id` = 248 [ RunTime:0.002252s ]
  20. SHOW FULL COLUMNS FROM `kt_news_data` [ RunTime:0.001379s ]
  21. SELECT * FROM `kt_news_data` WHERE `news_id` = 248 LIMIT 1 [ RunTime:0.000512s ]
  22. SELECT * FROM `kt_news` WHERE `site_id` = 1 AND `publish_status` = 'published' AND `category_id` = 80 AND `id` <> 248 AND `content_type` IN ('article','buying_guide','comparison','case_study') ORDER BY content_type = 'buying_guide' DESC,`id` DESC LIMIT 8 [ RunTime:0.001144s ]
0.108342s